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

cmd/evm: add 256-bit field validations on transactions (t9n) #23743

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Oct 15, 2021

Fixes #23740

Additionally, it checks the extra fields in type-2 (1559) transactions.

@holiman
Copy link
Contributor Author

holiman commented Oct 15, 2021

Updated to also validate that gas * gasPrice is within 256 bits, and output intrinsic gas (if we got that far)
Fixes #23746

@holiman holiman merged commit 84d8eb2 into ethereum:master Oct 18, 2021
@holiman holiman added this to the 1.10.11 milestone Oct 18, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Oct 20, 2021
…m#23743)

* cmd/evm: add 256-bit field validations on transactions (t9n)

* cmd/evm: validate gas*gasPrice, return intrinsic gas usage

* cmd/evm: address review comment
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
…m#23743)

* cmd/evm: add 256-bit field validations on transactions (t9n)

* cmd/evm: validate gas*gasPrice, return intrinsic gas usage

* cmd/evm: address review comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants