Skip to content

Commit

Permalink
add gas print for debugg
Browse files Browse the repository at this point in the history
  • Loading branch information
rahxephon89 committed Dec 4, 2024
1 parent 79396ad commit 408fb29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aptos-move/aptos-e2e-comparison-testing/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ impl Execution {
}
let (diff, gas2_gt_gas1, gas1_gt_gas_2) =
gas_diff(*gas_used_1, *gas_used_2, GAS_DIFF_PERCENTAGE);
println!("gas v1:{}, gas v2:{}", gas_used_1, gas_used_2);
let greater_version = if gas1_gt_gas_2 { "v1" } else { "v2" };
if gas2_gt_gas1 || gas1_gt_gas_2 {
self.output_result_str(format!(
Expand Down

0 comments on commit 408fb29

Please sign in to comment.