Skip to content

Commit

Permalink
fix: block cumultive gas calculation
Browse files Browse the repository at this point in the history
Signed-off-by: 0x00000002 <[email protected]>
  • Loading branch information
0x00000002 committed Jul 4, 2024
1 parent d200959 commit fa13468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl<T: Config> Pallet<T> {
(d.logs.clone(), d.used_gas)
}
};
cumulative_gas_used = used_gas;
cumulative_gas_used += used_gas;
Self::logs_bloom(logs, &mut logs_bloom);
}

Expand Down

0 comments on commit fa13468

Please sign in to comment.