Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions prover/examples/revme/host/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ fn prove_revm() {
};

let encoded = guest_std::cbor_serialize(&data).unwrap();
let mut buf = Vec::new();
bincode::serialize_into(&mut buf, &encoded).expect("serialization failed");

let mut state = load_elf_with_patch(ELF_PATH, vec![]);

// load input
state.input_stream.push(buf);
state.input_stream.push(encoded);

let (_total_steps, seg_num, mut _state) = split_prog_into_segs(state, &seg_path, "", seg_size);
println!("cycles: {:?}", _total_steps);
Expand Down
Loading