Skip to content

[FEATURE] Raise a specific error when no valid node is available during sending web3 request  #1553

Description

@purplesmoke05

Is your feature request related to a problem? Please describe.

  • Currently, the implementation in web3_utils.py verifies the presence of a valid node before sending a Web3 request and sends the request to that node.
  • If no valid node exists or if there is a valid node but the connection fails, the same error is raised.
  • With this implementation, it is not possible for the API caller to distinguish when no valid node is available.

Describe the solution you'd like

  • Raise a specific error when no valid node is available during sending web3 request , allowing the caller to distinguish these things.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions