Skip to content

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
@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 <[email protected]>
Co-authored-by: Mario Vega <[email protected]>
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