From c1e35f7a2579bcf29352d89129d1be30d7f08729 Mon Sep 17 00:00:00 2001 From: guorong009 Date: Tue, 6 Aug 2024 11:44:45 +0800 Subject: [PATCH] chore: another try for codecov warning --- halo2_frontend/src/dev/gates.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/halo2_frontend/src/dev/gates.rs b/halo2_frontend/src/dev/gates.rs index b95cbd955..6ca620463 100644 --- a/halo2_frontend/src/dev/gates.rs +++ b/halo2_frontend/src/dev/gates.rs @@ -338,6 +338,8 @@ mod tests { impl Circuit for TestCircuit { type Config = TestCircuitConfig; type FloorPlanner = SimpleFloorPlanner; + #[cfg(feature = "circuit-params")] + type Params = (); fn configure(meta: &mut ConstraintSystem) -> Self::Config { let a = meta.advice_column(); @@ -369,7 +371,10 @@ mod tests { } } - let gates = CircuitGates::collect::(); + let gates = CircuitGates::collect::( + #[cfg(feature = "circuit-params")] + (), + ); assert_eq!( format!("{}", gates), r#####"Equality check: