Skip to content

Commit

Permalink
feat/mem_proof_v2: fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Nicolas committed Oct 29, 2024
1 parent 4a6023f commit 8a9bfe5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ceno_zkvm/examples/riscv_opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
8 changes: 4 additions & 4 deletions ceno_zkvm/src/tables/ram/ram_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl<NVRAM: NonVolatileTable + Send + Sync + Clone> PubIOTableConfig<NVRAM> {
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(
[
Expand Down Expand Up @@ -330,12 +330,12 @@ impl<DVRAM: DynVolatileRamTable + Send + Sync + Clone> DynVolatileRamTableConfig
pub fn construct_circuit<E: ExtensionField>(
cb: &mut CircuitBuilder<E>,
) -> Result<Self, ZKVMError> {
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::<Result<Vec<WitIn>, ZKVMError>>()?;
let final_cycle = cb.create_witin(|| "final_cycle")?;
.collect::<Vec<WitIn>>();
let final_cycle = cb.create_witin(|| "final_cycle");

let init_table = cb.rlc_chip_record(
[
Expand Down

0 comments on commit 8a9bfe5

Please sign in to comment.