Skip to content

Commit fa13468

Browse files
committed
fix: block cumultive gas calculation
Signed-off-by: 0x00000002 <[email protected]>
1 parent d200959 commit fa13468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frame/ethereum/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ impl<T: Config> Pallet<T> {
422422
(d.logs.clone(), d.used_gas)
423423
}
424424
};
425-
cumulative_gas_used = used_gas;
425+
cumulative_gas_used += used_gas;
426426
Self::logs_bloom(logs, &mut logs_bloom);
427427
}
428428

0 commit comments

Comments
 (0)