Skip to content

Commit

Permalink
fix: change u8 to usize (#565)
Browse files Browse the repository at this point in the history
Co-authored-by: Arayi <[email protected]>
  • Loading branch information
arayikhalatyan and arayikhalatyan authored Oct 15, 2024
1 parent 5207bba commit dc3209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/src/arch/testing/program/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl<F: PrimeField32> ProgramTester<F> {
pub fn execute(&mut self, instruction: Instruction<F>, initial_state: &ExecutionState<u32>) {
self.records.push(ProgramExecutionCols {
pc: F::from_canonical_u32(initial_state.pc),
opcode: F::from_canonical_u8(instruction.opcode as u8),
opcode: F::from_canonical_usize(instruction.opcode),
op_a: instruction.op_a,
op_b: instruction.op_b,
op_c: instruction.op_c,
Expand Down

0 comments on commit dc3209a

Please sign in to comment.