Skip to content

Commit

Permalink
fix: improve the interpreter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgar2017 committed May 8, 2024
1 parent 2fd1db1 commit a2715a4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 31 deletions.
24 changes: 0 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion compiler_tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ zkevm-assembly = { git = "https://github.com/matter-labs/era-zkEVM-assembly", br
zkevm_opcode_defs = { git = "https://github.com/matter-labs/era-zkevm_opcode_defs", branch = "v1.5.0" }
zkevm_tester = { git = "https://github.com/matter-labs/era-zkevm_tester", branch = "v1.5.0" }

vm2 = { git = "https://github.com/matter-labs/vm2", optional = true }
# vm2 = { git = "https://github.com/matter-labs/vm2", optional = true }

era-compiler-common = { git = "https://github.com/matter-labs/era-compiler-common", branch = "main" }
era-compiler-llvm-context = { git = "https://github.com/matter-labs/era-compiler-llvm-context", branch = "main" }
Expand Down
8 changes: 4 additions & 4 deletions compiler_tester/src/vm/eravm/system_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ impl SystemContracts {
const PATH_CODE_ORACLE: &'static str =
"era-contracts/system-contracts/contracts/precompiles/CodeOracle.yul";

/// The ETH token system contract implementation path.
const PATH_ETH_TOKEN: &'static str =
"era-contracts/system-contracts/contracts/L2EthToken.sol:L2EthToken";
/// The base token system contract implementation path.
const PATH_BASE_TOKEN: &'static str =
"era-contracts/system-contracts/contracts/L2BaseToken.sol:L2BaseToken";

/// The EVM gas manager system contract implementation path.
const PATH_EVM_GAS_MANAGER: &'static str =
Expand Down Expand Up @@ -239,7 +239,7 @@ impl SystemContracts {
),
(
web3::types::Address::from_low_u64_be(zkevm_opcode_defs::ADDRESS_ETH_TOKEN.into()),
Self::PATH_ETH_TOKEN,
Self::PATH_BASE_TOKEN,
),
(
web3::types::Address::from_low_u64_be(0x8013),
Expand Down
2 changes: 1 addition & 1 deletion era-contracts
Submodule era-contracts updated 465 files
Binary file modified system-contracts-stable-build
Binary file not shown.
2 changes: 1 addition & 1 deletion tests

0 comments on commit a2715a4

Please sign in to comment.