Skip to content

Commit

Permalink
Update eth.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomg10 authored Aug 16, 2024
1 parent 2803aec commit 4d967be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/api_server/src/web3/namespaces/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ impl EthNamespace {
base_fee_per_gas.reverse();
// `base_fee_per_gas` for next L2 block cannot be calculated, appending last fee as a placeholder.
base_fee_per_gas.push(*base_fee_per_gas.last().unwrap());

effective_pubdata_price_history.reverse();

let oldest_block = newest_l2_block.0 + 1 - base_fee_per_gas.len() as u32;
Expand Down

0 comments on commit 4d967be

Please sign in to comment.