Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
SeHor05 committed Oct 12, 2024
1 parent 985e0b0 commit b18bf82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tvm_vm/src/executor/gas/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ pub fn execute_accept(engine: &mut Engine) -> Status {
engine.load_instruction(Instruction::new("ACCEPT"))?;

log::trace!(target: "tvm", "old gas, old gas limit, new gas: {:?}, {:?}, {:?}", engine.get_gas().get_gas_limit(), engine.get_gas().get_gas_limit_max(), i64::MAX);
engine.new_gas_limit(i64::MAX);
engine.new_gas_limit(i64::MAX);
log::trace!(target: "tvm", "new gas, new gas limit, new gas: {:?}, {:?}", engine.get_gas().get_gas_limit(), engine.get_gas().get_gas_limit_max());
Ok(())
}
// Application-specific primitives - A.11; Gas-related primitives - A.11.2
Expand Down

0 comments on commit b18bf82

Please sign in to comment.