From e7d82417d436fb6d92757831ae20edc1906769dd Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 3 Oct 2023 14:31:31 +0700 Subject: [PATCH] Add TTD to Sepolia chain config (#1798) * Add TTD to Sepolia chain config * Fix chain config --- nimbus/common/chain_config.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nimbus/common/chain_config.nim b/nimbus/common/chain_config.nim index 50275cc97..9cfed81ed 100644 --- a/nimbus/common/chain_config.nim +++ b/nimbus/common/chain_config.nim @@ -465,6 +465,7 @@ proc chainConfigForNetwork*(id: NetworkId): ChainConfig = shanghaiTime: some(1_678_832_736.fromUnix) ) of SepoliaNet: + const sepoliaTTD = parse("17000000000000000",UInt256) ChainConfig( consensusType: ConsensusType.POW, chainId: SepoliaNet.ChainId, @@ -481,6 +482,7 @@ proc chainConfigForNetwork*(id: NetworkId): ChainConfig = muirGlacierBlock: some(0.toBlockNumber), berlinBlock: some(0.toBlockNumber), londonBlock: some(0.toBlockNumber), + terminalTotalDifficulty: some(sepoliaTTD), shanghaiTime: some(1_677_557_088.fromUnix) ) else: