Skip to content

Commit

Permalink
chore: update Rust, deps, and submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgar2017 committed May 8, 2024
1 parent 24fe436 commit 9d74f8b
Show file tree
Hide file tree
Showing 8 changed files with 3,058 additions and 11 deletions.
3,040 changes: 3,040 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions compiler_tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ doctest = false
[dependencies]
structopt = { version = "0.3", default-features = false }
anyhow = "1.0"
which = "5.0"
which = "6.0"
colored = "2.1"

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
md5 = "0.7"
hex = "0.4"
sha3 = "0.10.6"
sha3 = "0.10"
ron = "0.8"
rlp = "0.5"
regex = "1.9"
glob = "0.3"
semver = { version = "1.0", features = ["serde"] }
itertools = "0.12"
once_cell = "1.19"
rayon = "1.8"
rayon = "1.9"
lazy_static = "1.4"
bincode = "1.3"
evm = { git = "https://github.com/rust-ethereum/evm", branch = "master" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ use serde::Deserialize;

use crate::compilers::mode::Mode;

use self::variant::Variant;
use self::variant::extended::Extended;
use self::variant::Variant;

///
/// The Matter Labs compiler test metadata expected data variant.
Expand Down
12 changes: 9 additions & 3 deletions compiler_tester/src/directories/matter_labs/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,9 @@ impl MatterLabsTest {
value: None,
storage: HashMap::new(),
expected: Some(
MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(false),
MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(
false,
),
),
},
MatterLabsCaseInput {
Expand All @@ -355,11 +357,15 @@ impl MatterLabsTest {
value: None,
storage: HashMap::new(),
expected: Some(
MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(exception),
MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(
exception,
),
),
},
],
expected: MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(exception),
expected: MatterLabsCaseInputExpected::successful_evm_interpreter_benchmark(
exception,
),
ignore: false,
cycles: None,
})
Expand Down
3 changes: 2 additions & 1 deletion compiler_tester/src/test/case/input/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ impl Runtime {
.return_data
.remove(0)
.unwrap_certain_as_ref()
.as_u64() - EraVM::EVM_INTERPRETER_GAS_OVERHEAD
.as_u64()
- EraVM::EVM_INTERPRETER_GAS_OVERHEAD
} else {
0
};
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
profile = "default"
channel = "1.77.2"
channel = "1.78.0"
2 changes: 1 addition & 1 deletion solidity_adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ colored = "2.0"
serde = { version = "1.0", features = [ "derive" ] }
serde_yaml = "0.9"
semver = { version = "1.0", features = [ "serde" ] }
regex = "1.7"
regex = "1.9"
md5 = "0.7"

era-compiler-common = { git = "https://github.com/matter-labs/era-compiler-common", branch = "main" }
Expand Down

0 comments on commit 9d74f8b

Please sign in to comment.