Skip to content

Commit

Permalink
fix: import under revm
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Nov 4, 2023
1 parent 8c4ae2d commit c5a314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snark-verifier-sdk/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pub fn gen_evm_verifier_shplonk<C: CircuitExt<Fr>>(
#[cfg(feature = "revm")]
pub fn evm_verify(deployment_code: Vec<u8>, instances: Vec<Vec<Fr>>, proof: Vec<u8>) {
let calldata = encode_calldata(&instances, &proof);
let gas_cost = snark_verifier::deploy_and_call(deployment_code, calldata).unwrap();
let gas_cost = snark_verifier::loader::evm::deploy_and_call(deployment_code, calldata).unwrap();
dbg!(gas_cost);
}

Expand Down

0 comments on commit c5a314c

Please sign in to comment.