-
Notifications
You must be signed in to change notification settings - Fork 834
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
rpc/types: CheckTxFee should catch non-positive values and return an error #2414
Comments
odeke-em
added a commit
to orijtech/evmos
that referenced
this issue
Mar 14, 2024
This change catches invalid values in CheckTxFee and returns an error for: * nil gasPrice * negative gasPrice which improves the reliability of the system. Fixes evmos#2413 Fixes evmos#2414
odeke-em
added a commit
to orijtech/evmos
that referenced
this issue
Mar 14, 2024
This change catches invalid values in CheckTxFee and returns an error for: * nil gasPrice * negative gasPrice which improves the reliability of the system. Fixes evmos#2413 Fixes evmos#2414
Actually this looks like the absence of the enforcement that I raised is a major violation of the Ethereum specification per https://ethereum.github.io/yellowpaper/paper.pdf |
Closing this as per the comment on the linked PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
What happened?
This code doesn't return an error
Evmos Version
main
How to reproduce?
Please run my reproduction
Fix
/cc @fedekunze
The text was updated successfully, but these errors were encountered: