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 -> link the evm exceptionally aborts as if it runs out of gas. A small fix is added to achieve the latter.

Another small change is added to match the salt addition here -> (link)

@spencer-tb
Copy link
Collaborator Author

spencer-tb commented Jan 12, 2023

Still to add extra checks to catch OOG error.

Similar to -> (link)

@spencer-tb spencer-tb marked this pull request as ready for review January 12, 2023 16:41
danceratopz and others added 3 commits January 13, 2023 12:45
#25)

* tests: add framework tests for the compute_create*_address helpers

* tests: fix type hint in test_compute_create2_address function args
@spencer-tb spencer-tb closed this Jan 13, 2023
@spencer-tb
Copy link
Collaborator Author

I have made a mess.

marioevz added a commit to marioevz/execution-spec-tests that referenced this pull request Jan 31, 2024
spencer-tb referenced this pull request in spencer-tb/execution-spec-tests Feb 1, 2024
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