diff --git a/ceno_zkvm/examples/riscv_opcodes.rs b/ceno_zkvm/examples/riscv_opcodes.rs index cd3cb220b..438c3cfb8 100644 --- a/ceno_zkvm/examples/riscv_opcodes.rs +++ b/ceno_zkvm/examples/riscv_opcodes.rs @@ -13,7 +13,7 @@ use ceno_zkvm::{ use clap::Parser; use ceno_emul::{ - CENO_PLATFORM, EmuContext, + ByteAddr, CENO_PLATFORM, EmuContext, InsnKind::{ADD, BLTU, EANY, JAL, LUI, LW}, PC_WORD_SIZE, Program, StepRecord, Tracer, VMState, WordAddr, encode_rv32, }; diff --git a/ceno_zkvm/src/tables/ram/ram_impl.rs b/ceno_zkvm/src/tables/ram/ram_impl.rs index 39b5f043a..7c85bbc36 100644 --- a/ceno_zkvm/src/tables/ram/ram_impl.rs +++ b/ceno_zkvm/src/tables/ram/ram_impl.rs @@ -224,7 +224,7 @@ impl PubIOTableConfig { let init_v = cb.query_public_io()?; let addr = cb.create_fixed(|| "addr")?; - let final_cycle = cb.create_witin(|| "final_cycle")?; + let final_cycle = cb.create_witin(|| "final_cycle"); let init_table = cb.rlc_chip_record( [ @@ -330,12 +330,12 @@ impl DynVolatileRamTableConfig pub fn construct_circuit( cb: &mut CircuitBuilder, ) -> Result { - let addr = cb.create_witin(|| "addr")?; + let addr = cb.create_witin(|| "addr"); let final_v = (0..DVRAM::V_LIMBS) .map(|i| cb.create_witin(|| format!("final_v_limb_{i}"))) - .collect::, ZKVMError>>()?; - let final_cycle = cb.create_witin(|| "final_cycle")?; + .collect::>(); + let final_cycle = cb.create_witin(|| "final_cycle"); let init_table = cb.rlc_chip_record( [