Skip to content
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
8 changes: 6 additions & 2 deletions hashes/zkevm/src/keccak/component/circuit/shard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,18 @@ use itertools::Itertools;
/// Keccak Component Shard Circuit
#[derive(Getters)]
pub struct KeccakComponentShardCircuit<F: Field> {
/// The multiple inputs to be hashed.
#[getset(get = "pub")]
inputs: Vec<Vec<u8>>,

/// Parameters of this circuit. The same parameters always construct the same circuit.
#[getset(get = "pub")]
params: KeccakComponentShardCircuitParams,

base_circuit_builder: RefCell<BaseCircuitBuilder<F>>,
/// Poseidon hasher. Stateless once initialized.
#[getset(get = "pub")]
hasher: RefCell<PoseidonHasher<F, POSEIDON_T, POSEIDON_RATE>>,
/// Stateless gate chip
#[getset(get = "pub")]
gate_chip: GateChip<F>,
}

Expand Down