diff --git a/src/instructions/execute.rs b/src/instructions/execute.rs index 47c9f53d..022aacc9 100644 --- a/src/instructions/execute.rs +++ b/src/instructions/execute.rs @@ -1564,6 +1564,7 @@ pub fn execute(inst: Instruction, machine: &mut Mac) -> Result<(), let next_pc = machine .pc() .overflowing_add(&Mac::REG::from_u8(instruction_size)); + println!("{:?} {:?} {:?}", machine.pc().to_u64(), inst, ckb_vm_definitions::instructions::instruction_opcode_name(extract_opcode(inst))); machine.update_pc(next_pc); let r = execute_instruction(inst, machine); machine.commit_pc(); @@ -1579,6 +1580,7 @@ pub fn execute_with_thread( let next_pc = machine .pc() .overflowing_add(&Mac::REG::from_u8(instruction_size)); + println!("{:?} {:?} {:?}", machine.pc().to_u64(), inst, ckb_vm_definitions::instructions::instruction_opcode_name(extract_opcode(inst))); machine.update_pc(next_pc); let r = thread(machine, inst); machine.commit_pc();