Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve RPC error messages #1176

Merged
merged 6 commits into from
Sep 4, 2023
Merged

Conversation

boundless-forest
Copy link
Collaborator

@boundless-forest boundless-forest commented Aug 28, 2023

This is a trick compatible issue that is easy to confuse. In Ethereum, when attempting to execute a transaction without sufficient funds, the error message you'll likely encounter is: "Insufficient funds for gas * price + value" . This error message only shows when the account balance is not enough to cover the total cost of the transaction. However, In frontier, there are many cases that can lead to this error message, for example, if your gas price is too low. This PR mainly fixes this issue, with some other improvements.

@sorpaas sorpaas merged commit 55e0861 into polkadot-evm:master Sep 4, 2023
5 checks passed
@boundless-forest boundless-forest deleted the bear-errors branch September 5, 2023 01:20
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