forked from cerc-io/plugeth
params: add cancun upgrade banner (#29042)
params: add cancun banner Signed-off-by: tmelhao <tmelhao@gmail.com> Co-authored-by: tmelhao <tmelhao@gmail.com>
This commit is contained in:
parent
bba3fa9af9
commit
79e340fb12
@ -467,7 +467,7 @@ func (c *ChainConfig) Description() string {
|
|||||||
banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", *c.ShanghaiTime)
|
banner += fmt.Sprintf(" - Shanghai: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)\n", *c.ShanghaiTime)
|
||||||
}
|
}
|
||||||
if c.CancunTime != nil {
|
if c.CancunTime != nil {
|
||||||
banner += fmt.Sprintf(" - Cancun: @%-10v\n", *c.CancunTime)
|
banner += fmt.Sprintf(" - Cancun: @%-10v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)\n", *c.CancunTime)
|
||||||
}
|
}
|
||||||
if c.PragueTime != nil {
|
if c.PragueTime != nil {
|
||||||
banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.PragueTime)
|
banner += fmt.Sprintf(" - Prague: @%-10v\n", *c.PragueTime)
|
||||||
|
Loading…
Reference in New Issue
Block a user