Skip to content

Commit 6ac69fc

Browse files
committed
chores: rename config
1 parent 08783ca commit 6ac69fc

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

ceno_zkvm/src/scheme/constants.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pub(crate) const MIN_PAR_SIZE: usize = 64;
2-
pub(crate) const SEL_DEGREE: usize = 2;
32

43
pub const NUM_FANIN: usize = 2;
54
pub const NUM_FANIN_LOGUP: usize = 2;

ceno_zkvm/src/scheme/verifier.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use ff_ext::{Instrumented, PoseidonField};
88
use super::{ZKVMChipProof, ZKVMProof};
99
use crate::{
1010
error::ZKVMError,
11-
scheme::constants::{NUM_FANIN, NUM_FANIN_LOGUP, SEL_DEGREE},
11+
scheme::constants::{NUM_FANIN, NUM_FANIN_LOGUP},
1212
structs::{ComposedConstrainSystem, PointAndEval, TowerProofs, VerifyingKey, ZKVMVerifyingKey},
1313
utils::{
1414
eval_inner_repeated_incremental_vec, eval_outer_repeated_incremental_vec,
@@ -530,8 +530,10 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZKVMVerifier<E, PCS>
530530
"[prod_record] mismatch length"
531531
);
532532

533-
let ram_bus_circuit = false;
534-
let input_opening_point = if !ram_bus_circuit {
533+
// TODO differentiate `ram_bus` via cs
534+
let is_shard_ram_bus_circuit = false;
535+
536+
let input_opening_point = if !is_shard_ram_bus_circuit {
535537
// evaluate the evaluation of structural mles at input_opening_point by verifier
536538
let structural_evals = if with_rw {
537539
// only iterate r set, as read/write set round should match

ceno_zkvm/src/tables/mod.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
use crate::{circuit_builder::CircuitBuilder, error::ZKVMError, structs::ProgramParams};
22
use ff_ext::ExtensionField;
3-
use std::collections::HashMap;
3+
use gkr_iop::{
4+
chip::Chip,
5+
gkr::{GKRCircuit, layer::Layer},
6+
selector::SelectorType,
7+
};
48
use itertools::Itertools;
59
use multilinear_extensions::{StructuralWitInType, ToExpr};
10+
use std::collections::HashMap;
611
use witness::RowMajorMatrix;
7-
use gkr_iop::chip::Chip;
8-
use gkr_iop::gkr::GKRCircuit;
9-
use gkr_iop::gkr::layer::Layer;
10-
use gkr_iop::selector::SelectorType;
1112

1213
mod range;
1314
pub use range::*;

gkr_iop/src/gkr/layer/cpu/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZerocheckLayerProver
168168
)
169169
)
170170
.collect_vec();
171+
171172
// zero check eq || rotation eq
172173
let mut eqs = layer
173174
.out_sel_and_eval_exprs

0 commit comments

Comments
 (0)