Skip to content

Commit

Permalink
fix: update and pin foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
han0110 committed Oct 3, 2022
1 parent 7b96201 commit f42c7c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ paste = "1.0.7"
halo2_wrong_ecc = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2022_09_09", package = "ecc" }

# loader_evm
foundry_evm = { git = "https://github.com/han0110/foundry", package = "foundry-evm", branch = "fix/pin-revm-to-rev" }
foundry_evm = { git = "https://github.com/foundry-rs/foundry", package = "foundry-evm", rev = "6b1ee60e" }
crossterm = { version = "0.22.1" }
tui = { version = "0.16.0", default-features = false, features = ["crossterm"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/evm-verifier-with-accumulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ fn evm_verify(deployment_code: Vec<u8>, instances: Vec<Vec<Fr>>, proof: Vec<u8>)
.call_raw(caller, verifier, calldata.into(), 0.into())
.unwrap();

dbg!(result.gas);
dbg!(result.gas_used);

!result.reverted
};
Expand Down
2 changes: 1 addition & 1 deletion examples/evm-verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn evm_verify(deployment_code: Vec<u8>, instances: Vec<Vec<Fr>>, proof: Vec<u8>)
.call_raw(caller, verifier, calldata.into(), 0.into())
.unwrap();

dbg!(result.gas);
dbg!(result.gas_used);

!result.reverted
};
Expand Down
2 changes: 1 addition & 1 deletion src/loader/evm/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ pub fn execute(code: Vec<u8>, calldata: Vec<u8>) -> (bool, u64, Vec<u64>) {
Tui::new(result.debug.unwrap().flatten(0), 0).start();
}

(!result.reverted, result.gas, costs)
(!result.reverted, result.gas_used, costs)
}

0 comments on commit f42c7c5

Please sign in to comment.