Add PrimordialPulse block to banner

This commit is contained in:
Shane Bammel 2022-10-07 13:14:47 -05:00
parent c3ebe78c30
commit 31af80ef64

View File

@ -448,6 +448,9 @@ func (c *ChainConfig) Description() string {
if c.GrayGlacierBlock != nil { if c.GrayGlacierBlock != nil {
banner += fmt.Sprintf(" - Gray Glacier: #%-8v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)\n", c.GrayGlacierBlock) banner += fmt.Sprintf(" - Gray Glacier: #%-8v (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)\n", c.GrayGlacierBlock)
} }
if c.PrimordialPulseBlock != nil {
banner += fmt.Sprintf(" - Primordial Pulse: %-8v (https://gitlab.com/pulsechaincom/go-pulse)\n", c.PrimordialPulseBlock)
}
banner += "\n" banner += "\n"
// Add a special section for the merge as it's non-obvious // Add a special section for the merge as it's non-obvious