-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add separate index for zk_ee (#11)
- Loading branch information
1 parent
22070cb
commit d24ec18
Showing
8 changed files
with
17,096 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
evm_tester/src/test_suits/ethereum_general_state/platforms/emulator.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// | ||
/// The index file path. | ||
/// | ||
pub const INDEX_PATH: &'static str = "indexes/emulator/ethereum-general-state-tests.yaml"; |
11 changes: 11 additions & 0 deletions
11
evm_tester/src/test_suits/ethereum_general_state/platforms/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use crate::Environment; | ||
|
||
pub mod emulator; | ||
pub mod zk_ee; | ||
|
||
pub fn index_for_environment(environment: Environment) -> &'static str { | ||
match environment { | ||
Environment::EVMEmulator => emulator::INDEX_PATH, | ||
Environment::ZkOS => zk_ee::INDEX_PATH, | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
evm_tester/src/test_suits/ethereum_general_state/platforms/zk_ee.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// | ||
/// The index file path. | ||
/// | ||
pub const INDEX_PATH: &'static str = "indexes/zk_ee/ethereum-general-state-tests.yaml"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.