From f4cb12a20321d93ebefeac3f44eaedf2fe40b90e Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Apr 2025 14:25:08 +0800 Subject: [PATCH] chore(params): fix some comments (#423) --- params/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/params/config.go b/params/config.go index dfc9f7c5cf..a4e7bbee8d 100644 --- a/params/config.go +++ b/params/config.go @@ -416,7 +416,7 @@ type ChainConfig struct { // CHANGE(taiko): Taiko network flag. Taiko bool `json:"taiko"` OntakeBlock *big.Int `json:"ontakeBlock,omitempty"` // Ontake switch block (nil = no fork, 0 = already activated) - PacayaBlock *big.Int `json:"pacayaBlock,omitempty"` // Ontake switch block (nil = no fork, 0 = already activated) + PacayaBlock *big.Int `json:"pacayaBlock,omitempty"` // Pacaya switch block (nil = no fork, 0 = already activated) } // EthashConfig is the consensus engine configs for proof-of-work based sealing. @@ -644,7 +644,7 @@ func (c *ChainConfig) IsOntake(num *big.Int) bool { return isBlockForked(c.OntakeBlock, num) } -// CHANGE(taiko): IsPacaya returns whether num is either equal to the pacaya fork block or greater. +// CHANGE(taiko): IsPacaya returns whether num is either equal to the Pacaya fork block or greater. func (c *ChainConfig) IsPacaya(num *big.Int) bool { return isBlockForked(c.PacayaBlock, num) }