-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat(levm): running all ef tests with revm and fixing problems #1275
Conversation
Now we have a levm_runner in charge of running the whole suite of tests (or the chosen ones) and then a revm_runner that re-runs the tests that levm failed to run successfully
This reverts commit 1391e03.
…to fix_ef_test_parsing
…ambda_ethereum_rust into levm/running-ef-tests-revm
cmd/ef_tests/levm/runner/mod.rs
Outdated
@@ -55,6 +55,7 @@ pub fn run_ef_tests( | |||
run_with_levm(&mut reports, &ef_tests)?; | |||
} | |||
re_run_with_revm(&mut reports, &ef_tests)?; | |||
// _run_with_revm(&mut reports, &ef_tests)?; |
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.
If this is going to be merged to main
we should remove this commented line and add documentation on the commented function explaining when to use it.
// _run_with_revm(&mut reports, &ef_tests)?; |
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.
Done in f4891c0
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.
LGTM. We can merge after addressing the comment.
Motivation
Description
Runs all tests with revm -> Done
Fix execution of revm -> Most of Cancun tests have been fixed, 8 of them don't pass but it is good enough
Access lists are now deserialized, in .json files there are 1 access list per
data
element. So we usedata
index for accessing them.I didn't make serious error handling for running with revm because it is not a core functionality, doing that will take a little bit more work but maybe it is not necessary.
Closes #issue_number