Skip to content

Commit

Permalink
Log effective gas calculation (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro authored Mar 6, 2025
1 parent 4dddde8 commit 0e7c6cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frame/evm/src/runner/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ where
core::cmp::max(used_gas, pov_gas),
storage_gas,
));
log::debug!(
target: "evm",
"Calculating effective gas: max(used: {}, pov: {}, storage: {}) = {}",
used_gas,
pov_gas,
storage_gas,
effective_gas
);

(reason, retv, used_gas, effective_gas)
});
Expand Down

0 comments on commit 0e7c6cd

Please sign in to comment.