diff --git a/params/config.go b/params/config.go index 752205dd3c..9269cb2310 100644 --- a/params/config.go +++ b/params/config.go @@ -439,7 +439,7 @@ func (c *ChainConfig) Description() string { banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.PragueTime) } if c.OsakaTime != nil { - banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.OsakaTime) + banner += fmt.Sprintf(" - Osaka: @%-10v\n", *c.OsakaTime) } if c.VerkleTime != nil { banner += fmt.Sprintf(" - Verkle: @%-10v\n", *c.VerkleTime) @@ -625,7 +625,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error { {name: "shanghaiTime", timestamp: c.ShanghaiTime}, {name: "cancunTime", timestamp: c.CancunTime, optional: true}, {name: "pragueTime", timestamp: c.PragueTime, optional: true}, - {name: "pragueTime", timestamp: c.OsakaTime, optional: true}, + {name: "osakaTime", timestamp: c.OsakaTime, optional: true}, {name: "verkleTime", timestamp: c.VerkleTime, optional: true}, } { if lastFork.name != "" { @@ -731,7 +731,7 @@ func (c *ChainConfig) checkCompatible(newcfg *ChainConfig, headNumber *big.Int, return newTimestampCompatError("Prague fork timestamp", c.PragueTime, newcfg.PragueTime) } if isForkTimestampIncompatible(c.OsakaTime, newcfg.OsakaTime, headTimestamp) { - return newTimestampCompatError("Prague fork timestamp", c.OsakaTime, newcfg.OsakaTime) + return newTimestampCompatError("Osaka fork timestamp", c.OsakaTime, newcfg.OsakaTime) } if isForkTimestampIncompatible(c.VerkleTime, newcfg.VerkleTime, headTimestamp) { return newTimestampCompatError("Verkle fork timestamp", c.VerkleTime, newcfg.VerkleTime)