forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migration: Fix baseFee calculation (#240)
Change base fee calculation for transition block Previously we used the parent base fee, now we use the eip1559 calculation to calculate the base fee for the transition block. Also updated the referenced op-geth that includes an updated CalcBaseFee function. The approach was changed to remove reliance on IsCel2 inside CalcBaseFee which helps to avoid unexpected consequences when working with tests that do or don't set the cel2 fork Co-authored-by: Piers Powlesland <[email protected]>
- Loading branch information
Showing
1 changed file
with
43 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters