@@ -42,36 +42,35 @@ func NewL2Genesis(config *DeployConfig, l1StartHeader *types.Header) (*core.Gene
4242 l1StartTime := l1StartHeader .Time
4343
4444 optimismChainConfig := params.ChainConfig {
45- ChainID : new (big.Int ).SetUint64 (config .L2ChainID ),
46- HomesteadBlock : big .NewInt (0 ),
47- DAOForkBlock : nil ,
48- DAOForkSupport : false ,
49- EIP150Block : big .NewInt (0 ),
50- EIP155Block : big .NewInt (0 ),
51- EIP158Block : big .NewInt (0 ),
52- ByzantiumBlock : big .NewInt (0 ),
53- ConstantinopleBlock : big .NewInt (0 ),
54- PetersburgBlock : big .NewInt (0 ),
55- IstanbulBlock : big .NewInt (0 ),
56- MuirGlacierBlock : big .NewInt (0 ),
57- BerlinBlock : big .NewInt (0 ),
58- LondonBlock : big .NewInt (0 ),
59- ArrowGlacierBlock : big .NewInt (0 ),
60- GrayGlacierBlock : big .NewInt (0 ),
61- MergeNetsplitBlock : big .NewInt (0 ),
62- TerminalTotalDifficulty : big .NewInt (0 ),
63- TerminalTotalDifficultyPassed : true ,
64- BedrockBlock : new (big.Int ).SetUint64 (uint64 (config .L2GenesisBlockNumber )),
65- RegolithTime : config .RegolithTime (l1StartTime ),
66- CanyonTime : config .CanyonTime (l1StartTime ),
67- ShanghaiTime : config .CanyonTime (l1StartTime ),
68- CancunTime : config .EcotoneTime (l1StartTime ),
69- EcotoneTime : config .EcotoneTime (l1StartTime ),
70- FjordTime : config .FjordTime (l1StartTime ),
71- GraniteTime : config .GraniteTime (l1StartTime ),
72- HoloceneTime : config .HoloceneTime (l1StartTime ),
73- IsthmusTime : config .IsthmusTime (l1StartTime ),
74- InteropTime : config .InteropTime (l1StartTime ),
45+ ChainID : new (big.Int ).SetUint64 (config .L2ChainID ),
46+ HomesteadBlock : big .NewInt (0 ),
47+ DAOForkBlock : nil ,
48+ DAOForkSupport : false ,
49+ EIP150Block : big .NewInt (0 ),
50+ EIP155Block : big .NewInt (0 ),
51+ EIP158Block : big .NewInt (0 ),
52+ ByzantiumBlock : big .NewInt (0 ),
53+ ConstantinopleBlock : big .NewInt (0 ),
54+ PetersburgBlock : big .NewInt (0 ),
55+ IstanbulBlock : big .NewInt (0 ),
56+ MuirGlacierBlock : big .NewInt (0 ),
57+ BerlinBlock : big .NewInt (0 ),
58+ LondonBlock : big .NewInt (0 ),
59+ ArrowGlacierBlock : big .NewInt (0 ),
60+ GrayGlacierBlock : big .NewInt (0 ),
61+ MergeNetsplitBlock : big .NewInt (0 ),
62+ TerminalTotalDifficulty : big .NewInt (0 ),
63+ BedrockBlock : new (big.Int ).SetUint64 (uint64 (config .L2GenesisBlockNumber )),
64+ RegolithTime : config .RegolithTime (l1StartTime ),
65+ CanyonTime : config .CanyonTime (l1StartTime ),
66+ ShanghaiTime : config .CanyonTime (l1StartTime ),
67+ CancunTime : config .EcotoneTime (l1StartTime ),
68+ EcotoneTime : config .EcotoneTime (l1StartTime ),
69+ FjordTime : config .FjordTime (l1StartTime ),
70+ GraniteTime : config .GraniteTime (l1StartTime ),
71+ HoloceneTime : config .HoloceneTime (l1StartTime ),
72+ IsthmusTime : config .IsthmusTime (l1StartTime ),
73+ InteropTime : config .InteropTime (l1StartTime ),
7574 Optimism : & params.OptimismConfig {
7675 EIP1559Denominator : eip1559Denom ,
7776 EIP1559Elasticity : eip1559Elasticity ,
@@ -144,9 +143,8 @@ func NewL1Genesis(config *DeployConfig) (*core.Genesis, error) {
144143 ShanghaiTime : u64ptr (0 ),
145144 CancunTime : u64ptr (0 ),
146145 // To enable post-Merge consensus at genesis
147- MergeNetsplitBlock : big .NewInt (0 ),
148- TerminalTotalDifficulty : big .NewInt (0 ),
149- TerminalTotalDifficultyPassed : true ,
146+ MergeNetsplitBlock : big .NewInt (0 ),
147+ TerminalTotalDifficulty : big .NewInt (0 ),
150148 }
151149
152150 gasLimit := config .L1GenesisBlockGasLimit
0 commit comments