Skip to content

Commit

Permalink
Fetch fjord time from superchain registry
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed May 24, 2024
1 parent b9ff2b2 commit 7b265ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion params/superchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func LoadSuperChainConfig(opStackChainCfg *superchain.ChainConfig) *chain.Config
RegolithTime: big.NewInt(0),
CanyonTime: nil,
EcotoneTime: nil,
FjordTime: nil,
TerminalTotalDifficulty: common.Big0,
TerminalTotalDifficultyPassed: true,
Ethash: nil,
Expand All @@ -137,7 +138,7 @@ func LoadSuperChainConfig(opStackChainCfg *superchain.ChainConfig) *chain.Config
out.CancunTime = new(big.Int).SetUint64(*chConfig.EcotoneTime) // CancunTime activates with Ecotone
out.EcotoneTime = new(big.Int).SetUint64(*chConfig.EcotoneTime)
}

if chConfig.FjordTime != nil {
out.FjordTime = new(big.Int).SetUint64(*chConfig.FjordTime)
}

Expand Down

0 comments on commit 7b265ee

Please sign in to comment.