From d7bd1fba1c826b532e9ba9c268eca94408eebda6 Mon Sep 17 00:00:00 2001 From: ChickenLover Date: Mon, 22 May 2023 07:20:34 +0000 Subject: [PATCH] fix print_circuit test --- src/hash.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hash.rs b/src/hash.rs index 330d901..d0856a4 100644 --- a/src/hash.rs +++ b/src/hash.rs @@ -838,10 +838,12 @@ mod tests { ]; let k = 8; - let circuit = PoseidonHashTable { + let table = PoseidonHashTable { inputs: vec![message1, message2], ..Default::default() }; + + let circuit = TestCircuit::>::new(table); halo2_proofs::dev::CircuitLayout::default() .show_equality_constraints(true) .render(k, &circuit, &root)