Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions ceno_emul/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ pub use platform::{CENO_PLATFORM, Platform};

mod tracer;
pub use tracer::{
Change, FullTracer, LatestAccesses, MemOp, NextAccessPair, NextCycleAccess, PreflightTracer,
PreflightTracerConfig, ReadOp, ShardPlanBuilder, StepCellExtractor, StepRecord, Tracer,
WriteOp,
Change, FullTracer, FullTracerConfig, LatestAccesses, MemOp, NextAccessPair, NextCycleAccess,
PreflightTracer, PreflightTracerConfig, ReadOp, ShardPlanBuilder, StepCellExtractor, StepIndex,
StepRecord, Tracer, WriteOp,
};

mod vm_state;
Expand Down
3 changes: 2 additions & 1 deletion ceno_emul/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ pub fn keccak_step() -> (StepRecord, Vec<Instruction>) {
Default::default(),
);
let mut vm = VMState::new(CENO_PLATFORM.clone(), program.into());
let steps = vm.iter_until_halt().collect::<Result<Vec<_>>>().unwrap();
vm.iter_until_halt().collect::<Result<Vec<_>>>().unwrap();
let steps = vm.tracer().recorded_steps();

(steps[2].clone(), instructions)
}
Expand Down
Loading
Loading