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

fillers/eips/eip3860: Update EIP-3860 Due to Spec Change #29

Merged
merged 10 commits into from
Jan 13, 2023

Conversation

spencer-tb
Copy link
Collaborator

Currently if there is an initcode length violation for 'CREATE'/'CREATE2' the gas for the initcode execution is not deducted but stored. In the new spec change here -> ethereum/EIPs#6249 the evm exceptionally aborts as if it runs out of gas. A small fix is added to achieve the latter.

@spencer-tb spencer-tb marked this pull request as ready for review January 13, 2023 12:59
fillers/eips/eip3860.py Outdated Show resolved Hide resolved
fillers/eips/eip3860.py Outdated Show resolved Hide resolved
fillers/eips/eip3860.py Show resolved Hide resolved
fillers/eips/eip3860.py Outdated Show resolved Hide resolved
@marioevz marioevz merged commit 9ee19ac into ethereum:main Jan 13, 2023
danceratopz referenced this pull request in danceratopz/execution-spec-tests Jan 18, 2023
* Small change for EIP-3860 spec change.

* Small change for EIP-3860 spec change and fix for salt change.

* Tox fix.

* Add additional OOG error catching.

* Fix initcode contract data copy.

* Merge conflicts.

* fillers/eips: add salt to create2 contract creation (#20)

* fillers/eips: add salt to create2 contract creation (#20)

* SSTORE a value regardless of what CALL returns for further validation.

* Apply suggestions from code review

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Mario Vega <marioevz@gmail.com>
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.

3 participants