Skip to content

Commit

Permalink
2024-05-26 23:55:26
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed May 26, 2024
1 parent ed6b961 commit 81e180c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/instructions/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,9 @@ pub fn execute<Mac: Machine>(inst: Instruction, machine: &mut Mac) -> Result<(),
.pc()
.overflowing_add(&Mac::REG::from_u8(instruction_size));
machine.update_pc(next_pc);

println!("{:?} {:?} {:?}", machine.pc().to_u64(), inst, ckb_vm_definitions::instructions::instruction_opcode_name(extract_opcode(inst)));

let r = execute_instruction(inst, machine);
machine.commit_pc();
r
Expand Down

0 comments on commit 81e180c

Please sign in to comment.