From 75cdde39f10e64d2dcb4c2b8217761b98bdb6d9c Mon Sep 17 00:00:00 2001 From: Guangyu Zhu Date: Tue, 16 Aug 2022 19:20:59 +0800 Subject: [PATCH] [WA] fake argument for lookup --- halo2_proofs/src/plonk/circuit.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/halo2_proofs/src/plonk/circuit.rs b/halo2_proofs/src/plonk/circuit.rs index b729ee3884..988f7d664d 100644 --- a/halo2_proofs/src/plonk/circuit.rs +++ b/halo2_proofs/src/plonk/circuit.rs @@ -1002,6 +1002,7 @@ impl ConstraintSystem { /// they need to match. pub fn lookup( &mut self, + _name: &'static str, table_map: impl FnOnce(&mut VirtualCells<'_, F>) -> Vec<(Expression, TableColumn)>, ) -> usize { let mut cells = VirtualCells::new(self); @@ -1028,6 +1029,7 @@ impl ConstraintSystem { /// with the work around, the table column can be any type. pub fn lookup_any( &mut self, + _name: &'static str, table_map: impl FnOnce(&mut VirtualCells<'_, F>) -> Vec<(Expression, Expression)>, ) -> usize { let mut cells = VirtualCells::new(self);