Skip to content

Conversation

barraguda
Copy link
Contributor

Problem

If I send a signed transaction that will fail on the rpc level, for example with too low a gas level, the eth runtime currently does a few things:

receives error, assumes something is wrong with the provider, returns a NoRpcFound error, restart subscriptions.

Solution

If ErrResponse from provider, to_string() it and return it to the user so they know what went wrong.

Notes

corresponding process_lib update: hyperware-ai/process_lib#80

@barraguda barraguda marked this pull request as ready for review June 6, 2024 05:28
Copy link
Contributor

@dr-frmr dr-frmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect

@barraguda barraguda merged commit 3de3b9b into develop Jun 6, 2024
@barraguda barraguda deleted the bp/etherrorfix branch June 6, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants