(&mut self, c: &Commitment)
| 172 | push_u16(buf, circuit.max_constraint_degree); |
| 173 | // The lookup group size is a free per-circuit choice (it changes the |
| 174 | // constraint structure, not just counts), so it must be serialized. |
| 175 | buf |
| 176 | .push(u8::try_from(circuit.lookup_group_size).expect("group size fits u8")); |
| 177 | push_u16(buf, compiled.nodes.len()); |
| 178 | for node in &compiled.nodes { |
| 179 | push_node(buf, node); |
| 180 | } |
| 181 | push_u16(buf, compiled.zeros.len()); |
| 182 | for &z in &compiled.zeros { |
| 183 | push_node_id(buf, z); |
| 184 | } |