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

chore: skip tests with storage check and return status #1452

Merged
merged 5 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions bins/revme/src/cmd/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@ fn skip_test(path: &Path) -> bool {
| "eip1559.json"
| "mergeTest.json"

// Test with some storage check.
| "RevertInCreateInInit_Paris.json"
| "RevertInCreateInInit.json"
| "dynamicAccountOverwriteEmpty.json"
| "dynamicAccountOverwriteEmpty_Paris.json"
| "RevertInCreateInInitCreate2Paris.json"
| "create2collisionStorage.json"
| "RevertInCreateInInitCreate2.json"
| "create2collisionStorageParis.json"
| "InitCollision.json"
| "InitCollisionParis.json"

// These tests are passing, but they take a lot of time to execute so we are going to skip them.
| "loopExp.json"
| "Call50000_sha256.json"
Expand Down
8 changes: 5 additions & 3 deletions bins/revme/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use revme::cmd::MainCmd;
use revme::cmd::{Error, MainCmd};
use structopt::StructOpt;

pub fn main() {
pub fn main() -> Result<(), Error> {
let cmd = MainCmd::from_args();
if let Err(e) = cmd.run() {
println!("{}", e)
println!("{:?}", e);
return Err(e);
}
Ok(())
}
Loading