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

EOF state tests generated by evmone #1324

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Dec 12, 2023

Replaces #1204

These tests are generated by evmone from unit tests written in C++, so they don't have a regular source / filler files.

The source of these files (contains all post-state expectations and readable bytecodes) can be found in these files:
https://github.com/ethereum/evmone/blob/eof-create4/test/unittests/state_transition_eof_create_test.cpp
https://github.com/ethereum/evmone/blob/eof-create4/test/unittests/state_transition_eof_calls_test.cpp
https://github.com/ethereum/evmone/blob/eof-create4/test/unittests/state_transition_extcode_test.cpp

Look for the test with the same name as json test there.

Note that TXCREATE tests require an addition to state test format: initcodes array field inside transaction:

@gumb0 gumb0 changed the title EOF - CREATE3 tests EOF - CREATE3 and RETURNCONTRACT tests Dec 12, 2023
@gumb0 gumb0 force-pushed the eof-create3-evmone-generated branch from 8ea5bc6 to 593089a Compare January 12, 2024 16:33
@gumb0 gumb0 changed the title EOF - CREATE3 and RETURNCONTRACT tests EOF - CREATE3 and CREATE4 (+RETURNCONTRACT) tests Jan 12, 2024
@gumb0 gumb0 force-pushed the eof-create3-evmone-generated branch 2 times, most recently from cc07331 to 9c1e555 Compare February 26, 2024 13:48
@gumb0 gumb0 force-pushed the eof-create3-evmone-generated branch from 9c1e555 to 5bb6394 Compare March 5, 2024 11:57
@gumb0 gumb0 changed the title EOF - CREATE3 and CREATE4 (+RETURNCONTRACT) tests EOF - EOFCREATE and TXCREATE (+RETURNCONTRACT) tests Mar 5, 2024
@gumb0 gumb0 force-pushed the eof-create3-evmone-generated branch from 101982c to 33cf02c Compare March 12, 2024 17:16
@gumb0 gumb0 changed the title EOF - EOFCREATE and TXCREATE (+RETURNCONTRACT) tests EOF state tests generated by evmone Mar 28, 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.

None yet

1 participant