Update L2 base fee according to new cost estimates.
One nuance is that geth's codebase uses misc.CalcBaseFee in a few places to predict the next block's base fee. In our case this does not work. For example, after deploying this change on the sequencer, CalcBaseFee will diverge on the sequencer and follower nodes (until they upgrade to a new release). Cases where we use misc.CalcBaseFee:
core/tx_pool.go: Changed in this PR to use the current base fee. Follower nodes might manage txpool following a slightly inaccurate base fee estimation.
1. Purpose or design rationale of this PR
Update L2 base fee according to new cost estimates.
One nuance is that geth's codebase uses
misc.CalcBaseFee
in a few places to predict the next block's base fee. In our case this does not work. For example, after deploying this change on the sequencer,CalcBaseFee
will diverge on the sequencer and follower nodes (until they upgrade to a new release). Cases where we usemisc.CalcBaseFee
:Changed in this PR to use the current base fee.Follower nodes might manage txpool following a slightly inaccurate base fee estimation.2. PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
3. Deployment tag versioning
Has the version in
params/version.go
been updated?4. Breaking change label
Does this PR have the
breaking-change
label?