Skip to content

Commit

Permalink
bump prover
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto committed Nov 7, 2024
1 parent 5c4dad5 commit 72c8f00
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

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

7 changes: 5 additions & 2 deletions integration/src/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use prover::{force_to_read, DEPLOYMENT_CODE_FILENAME};
use std::path::PathBuf;

use prover::{force_read, DEPLOYMENT_CODE_FILENAME};

#[derive(Debug)]
pub struct EVMVerifier(Vec<u8>);
Expand All @@ -9,7 +11,8 @@ impl EVMVerifier {
}

pub fn from_dirs(assets_dir: &str) -> Self {
Self::new(force_to_read(assets_dir, &DEPLOYMENT_CODE_FILENAME))
let path = PathBuf::from(assets_dir).join(DEPLOYMENT_CODE_FILENAME.clone());
Self::new(force_read(&path))
}

pub fn verify_evm_proof(&self, call_data: Vec<u8>) -> bool {
Expand Down

0 comments on commit 72c8f00

Please sign in to comment.