From 1da0c448cc2facdc39a3d497b79795e047fe78a0 Mon Sep 17 00:00:00 2001 From: Jerry Date: Mon, 12 Aug 2024 04:49:41 -0700 Subject: [PATCH] Fix non-sequential forkid (#946) --- chain/chain_config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chain/chain_config.go b/chain/chain_config.go index f2ccb78e4b9..917e6e104fa 100644 --- a/chain/chain_config.go +++ b/chain/chain_config.go @@ -146,6 +146,10 @@ func (c *Config) SetForkIdBlock(forkIdNumber constants.ForkId, blockNum uint64) c.ForkID88ElderberryBlock = new(big.Int).SetUint64(blockNum) case constants.ForkID9Elderberry2: c.ForkID9Elderberry2Block = new(big.Int).SetUint64(blockNum) + case constants.ForkID10: + c.ForkID10 = new(big.Int).SetUint64(blockNum) + case constants.ForkID11: + c.ForkID11 = new(big.Int).SetUint64(blockNum) case constants.ForkID12Banana: c.ForkID12BananaBlock = new(big.Int).SetUint64(blockNum) default: