Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

remove lookup to make test pass #1424

Closed
wants to merge 1 commit into from
Closed
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
26 changes: 13 additions & 13 deletions aggregator/src/aggregation/rlc/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ impl RlcConfig {
vec![cs1, cs2, cs3]
});

meta.lookup_any("rlc keccak lookup", |meta| {
let q = meta.query_selector(lookup_gate_selector);
let input_rlc = meta.query_advice(phase_2_column, Rotation::cur());
let output_rlc = meta.query_advice(phase_2_column, Rotation::next());
let data_len = meta.query_advice(phase_2_column, Rotation(2));
// meta.lookup_any("rlc keccak lookup", |meta| {
// let q = meta.query_selector(lookup_gate_selector);
// let input_rlc = meta.query_advice(phase_2_column, Rotation::cur());
// let output_rlc = meta.query_advice(phase_2_column, Rotation::next());
// let data_len = meta.query_advice(phase_2_column, Rotation(2));

let input_exprs = vec![1.expr(), 1.expr(), input_rlc, data_len, output_rlc];
let table_exprs = keccak_table.table_exprs(meta);
// let input_exprs = vec![1.expr(), 1.expr(), input_rlc, data_len, output_rlc];
// let table_exprs = keccak_table.table_exprs(meta);

input_exprs
.into_iter()
.zip_eq(table_exprs)
.map(|(input, table)| (q.clone() * input, table))
.collect::<Vec<_>>()
});
// input_exprs
// .into_iter()
// .zip_eq(table_exprs)
// .map(|(input, table)| (q.clone() * input, table))
// .collect::<Vec<_>>()
// });

Self {
#[cfg(test)]
Expand Down
Loading