Merge pull request #1137 from maticnetwork/consistent

chg: make HF consistent
This commit is contained in:
Arpit Temani 2024-01-19 17:21:48 +05:30 committed by GitHub
commit d0b1b9dc69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -960,9 +960,9 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
{name: "arrowGlacierBlock", block: c.ArrowGlacierBlock, optional: true},
{name: "grayGlacierBlock", block: c.GrayGlacierBlock, optional: true},
{name: "mergeNetsplitBlock", block: c.MergeNetsplitBlock, optional: true},
{name: "ShanghaiBlock", block: c.ShanghaiBlock},
{name: "CancunBlock", block: c.CancunBlock, optional: true},
{name: "pragueTime", block: c.PragueBlock, optional: true},
{name: "shanghaiBlock", block: c.ShanghaiBlock},
{name: "cancunBlock", block: c.CancunBlock, optional: true},
{name: "pragueBlock", block: c.PragueBlock, optional: true},
} {
if lastFork.name != "" {
switch {