Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Handling of the "null" response from provider #5319

@nazarhussain

Description

@nazarhussain

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In some cases the provider returns null, which can't be handled by the request manager and cause runtime error.

Expected Behavior

There should not be an error and the null response should be returned from the request manager.

Steps to Reproduce

Send a transaction receipt request for a hash which does not exists.

Web3.js Version

4.x

Environment

N/A

Anything Else?

No response

Metadata

Metadata

Assignees

Labels

4.x4.0 relatedBugAddressing a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions