Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalancea committed Nov 21, 2024
1 parent df3f54c commit 2b42a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ceno_zkvm/src/bin/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ fn main() {

tracing::info!("Loading ELF file: {}", args.elf);
let elf_bytes = fs::read(&args.elf).expect("read elf file");
let mut vm = VMState::new_from_elf(platform, &elf_bytes).unwrap();
let mut vm = VMState::new_from_elf(platform.clone(), &elf_bytes).unwrap();

// keygen
let pcs_param = Pcs::setup(1 << MAX_NUM_VARIABLES).expect("Basefold PCS setup");
let (pp, vp) = Pcs::trim(pcs_param, 1 << MAX_NUM_VARIABLES).expect("Basefold trim");
let program_params = ProgramParams {
platform: sp1_platform,
platform: platform.clone(),
program_size: PROGRAM_SIZE,
..ProgramParams::default()
};
Expand Down

0 comments on commit 2b42a0b

Please sign in to comment.