-
Notifications
You must be signed in to change notification settings - Fork 285
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
Generate Copier files #890
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #890 +/- ##
==========================================
- Coverage 98.26% 98.14% -0.12%
==========================================
Files 130 130
Lines 15677 15753 +76
==========================================
+ Hits 15405 15461 +56
- Misses 272 292 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -13,6 +13,7 @@ TEST_F(state_transition, block_apply_withdrawal) | |||
static constexpr auto withdrawal_address = 0x8888_address; | |||
|
|||
block.withdrawals = {{0, 0, withdrawal_address, 3}}; | |||
block.timestamp = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can put this as a default to state_transition.block
definition in state_transition.cpp
… generating tests with empty prestate
Generates ethereum tests "Copier" files by executing
evmone-unittests
when an output path is defined in theEVMONE_EXPORT_TESTS
env variable.Related PRs
Generated Copier Tests
This generates 2 directories containing the copier files:
eof_validation
state_transition
Optionally, these directories can be symlinks to the corresponding directories in the ethereum tests:
eof_validation -> <ethereum_tests_path>/src/EOFTestsFiller/efValidation/
eof_validation/stack -> ../efStack
state_transition -> <ethereum_tests_path>/src/EIPTestsFiller/StateTests/stEOF/
This is the list of generated state tests generated (See ethereum tests PR:
eof_validation:
state_transition:
blockwithdrawals
,BLOCKHASH
, ommer blocks, blob base fee.Other changes
block
state transition tests, but they are currently skipped, instead it is now checking for thecall
state tests.pre: {}
,storage: {}
.senderSecretKey
, retesteth does not accept secret keys to have leading zeroes.