-
Notifications
You must be signed in to change notification settings - Fork 102
chore(levm): improve organization of new levm test runner #3958
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
Conversation
Lines of code reportTotal lines added: Detailed view
|
Benchmark Results ComparisonNo significant difference was registered for any benchmark run. Detailed ResultsBenchmark Results: BubbleSort
Benchmark Results: ERC20Approval
Benchmark Results: ERC20Mint
Benchmark Results: ERC20Transfer
Benchmark Results: Factorial
Benchmark Results: FactorialRecursive
Benchmark Results: Fibonacci
Benchmark Results: FibonacciRecursive
Benchmark Results: ManyHashes
Benchmark Results: MstoreBench
Benchmark Results: Push
Benchmark Results: SstoreBench_no_opt
|
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.
Pull Request Overview
This PR reorganizes the new LEVM runner by moving it from a subdirectory within the existing state test runner to its own separate package. The changes improve the project structure by creating a dedicated workspace member for the new runner and updating all import paths accordingly.
- Extracted the new LEVM runner from
cmd/ef_tests/state/runner_v2/
to its own package atcmd/ef_tests/state_v2/
- Updated import paths from
crate::runner_v2::
tocrate::modules::
throughout the codebase - Simplified file paths for report generation by removing the
runner_v2/
directory prefix
Reviewed Changes
Copilot reviewed 17 out of 22 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
cmd/ef_tests/state_v2/src/modules/*.rs | Updated import paths to use crate::modules:: instead of crate::runner_v2:: |
cmd/ef_tests/state_v2/src/main.rs | Updated package name and import paths for the new structure |
cmd/ef_tests/state_v2/src/lib.rs | New library root exposing the modules |
cmd/ef_tests/state_v2/README.md | Updated documentation to reflect new package name and file paths |
cmd/ef_tests/state_v2/Makefile | New Makefile with simplified test runner commands |
cmd/ef_tests/state_v2/Cargo.toml | New package configuration for the extracted runner |
cmd/ef_tests/state_v2/.gitignore | New gitignore for the standalone package |
cmd/ef_tests/state/lib.rs | Removed reference to the old runner_v2 module |
cmd/ef_tests/state/Makefile | Removed the new runner command that was delegating to the old location |
cmd/ef_tests/state/Cargo.toml | Removed the test configuration for the old runner location |
Cargo.toml | Added the new state_v2 package to the workspace |
"dynamicAccountOverwriteEmpty_Paris.json", // Skip because it fails on REVM | ||
"RevertInCreateInInitCreate2Paris.json", // Skip because it fails on REVM. See https://github.com/lambdaclass/ethrex/issues/1555 | ||
"RevertInCreateInInit_Paris.json", // Skip because it fails on REVM. See https://github.com/lambdaclass/ethrex/issues/1555 | ||
"create2collisionStorageParis.json", // Skip because it fails on REVM | ||
"InitCollisionParis.json", // Skip because it fails on REVM | ||
"InitCollision.json", // Skip because it fails on REVM |
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.
This will be tackled in next iterations, in this runner we won't use REVM for re-execution
**Motivation** - this runner was inside the same folder as the other runner and also the internal structure wasn't the most organized **Description** - move files - improve makefile - improve files structure <img width="290" height="416" alt="image" src="https://github.com/user-attachments/assets/7d4f6583-2af1-4b3f-b77b-dcf355dee897" />
…s#3958) **Motivation** - this runner was inside the same folder as the other runner and also the internal structure wasn't the most organized **Description** - move files - improve makefile - improve files structure <img width="290" height="416" alt="image" src="https://github.com/user-attachments/assets/7d4f6583-2af1-4b3f-b77b-dcf355dee897" />
Motivation
Description