Skip to content

Commit 5629b52

Browse files
authored
Merge pull request #2 from emostov/bump-revm
chore: bump revm version
2 parents d7731fa + a4e9a59 commit 5629b52

File tree

4 files changed

+46
-17
lines changed

4 files changed

+46
-17
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v4
4545
- uses: dtolnay/rust-toolchain@master
4646
with:
47-
toolchain: "1.76" # MSRV
47+
toolchain: "1.79" # MSRV
4848
- uses: Swatinem/rust-cache@v2
4949
with:
5050
cache-on-failure: true

Cargo.lock

Lines changed: 40 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
revm = { version = "10.0.0", features = [
7+
revm = { version = "12.1.0", features = [
88
"std",
99
"secp256k1",
1010
"blst",

src/instructions.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,14 @@ mod tests {
329329
fn setup_interpreter() -> Interpreter {
330330
let code = Bytecode::new_raw([AUTH_OPCODE, 0x00].into());
331331
let code_hash = code.hash_slow();
332-
let contract = Contract::new(
332+
let contract: Contract = Contract::new(
333333
Bytes::new(),
334334
code,
335335
Some(code_hash),
336336
Address::default(),
337-
Address::default(),
338-
B256::ZERO.into(),
337+
Some(Address::default()),
338+
Address::ZERO,
339+
U256::ZERO,
339340
);
340341

341342
let interpreter = Interpreter::new(contract, 3000000, false);

0 commit comments

Comments
 (0)