From 653ea871b8cf91fad106c087ee02eb51613a644c Mon Sep 17 00:00:00 2001 From: LeanSerra <46695152+LeanSerra@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:02:10 -0300 Subject: [PATCH] fix(levm): change chainid from 1729 to 1, add 1 ignored test (#1574) **Motivation** Chain_id tests expect the chain_id to be 1 There is 1 test we want to ignore but wasn't added to the array of ignored tests **Description** - Change chain_id from 1729 to 1 in `levm_runner.rs` - Add `RevertInCreateInInit_Paris.json` to the ignored tests array in `parser.rs` --- cmd/ef_tests/levm/parser.rs | 9 +++++---- cmd/ef_tests/levm/runner/levm_runner.rs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cmd/ef_tests/levm/parser.rs b/cmd/ef_tests/levm/parser.rs index d100c591f..9520e4e77 100644 --- a/cmd/ef_tests/levm/parser.rs +++ b/cmd/ef_tests/levm/parser.rs @@ -20,13 +20,14 @@ pub enum EFTestParseError { FailedToParseTestFile(String), } -const IGNORED_TESTS: [&str; 6] = [ +const IGNORED_TESTS: [&str; 7] = [ "ValueOverflowParis.json", // Skip because of errors "loopMul.json", // Skip because it takes too long to run "dynamicAccountOverwriteEmpty_Paris.json", // Skip because it fails on REVM - "RevertInCreateInInitCreate2Paris.json", // Skip because it fails on REVM - "create2collisionStorageParis.json", // Skip because it fails on REVM - "InitCollisionParis.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 ]; pub fn parse_ef_tests(opts: &EFTestRunnerOptions) -> Result, EFTestParseError> { diff --git a/cmd/ef_tests/levm/runner/levm_runner.rs b/cmd/ef_tests/levm/runner/levm_runner.rs index 1e0783377..fe4aefd32 100644 --- a/cmd/ef_tests/levm/runner/levm_runner.rs +++ b/cmd/ef_tests/levm/runner/levm_runner.rs @@ -100,7 +100,7 @@ pub fn prepare_vm_for_tx(vector: &TestVector, test: &EFTest) -> Result