diff --git a/o1vm/src/interpreters/mips/witness.rs b/o1vm/src/interpreters/mips/witness.rs index af663df8b3..1c01532bb6 100644 --- a/o1vm/src/interpreters/mips/witness.rs +++ b/o1vm/src/interpreters/mips/witness.rs @@ -182,9 +182,11 @@ impl InterpreterEnv for Env) { + let mut arity_counter = 0; let mut add_value = |x: Fp| { self.lookup_state_idx += 1; self.lookup_state.push(x); + arity_counter += 1; }; let Lookup { table_id, @@ -205,7 +207,7 @@ impl InterpreterEnv for Env self.lookup_multiplicities.pad_lookup[idx] += 1, @@ -228,6 +230,8 @@ impl InterpreterEnv for Env (), } } + //Update arity + self.lookup_arity.push(arity_counter); } fn instruction_counter(&self) -> Self::Variable {