Add TTD to Sepolia chain config (#1798)
* Add TTD to Sepolia chain config * Fix chain config
This commit is contained in:
parent
ea2b5b4c7e
commit
e7d82417d4
|
@ -465,6 +465,7 @@ proc chainConfigForNetwork*(id: NetworkId): ChainConfig =
|
||||||
shanghaiTime: some(1_678_832_736.fromUnix)
|
shanghaiTime: some(1_678_832_736.fromUnix)
|
||||||
)
|
)
|
||||||
of SepoliaNet:
|
of SepoliaNet:
|
||||||
|
const sepoliaTTD = parse("17000000000000000",UInt256)
|
||||||
ChainConfig(
|
ChainConfig(
|
||||||
consensusType: ConsensusType.POW,
|
consensusType: ConsensusType.POW,
|
||||||
chainId: SepoliaNet.ChainId,
|
chainId: SepoliaNet.ChainId,
|
||||||
|
@ -481,6 +482,7 @@ proc chainConfigForNetwork*(id: NetworkId): ChainConfig =
|
||||||
muirGlacierBlock: some(0.toBlockNumber),
|
muirGlacierBlock: some(0.toBlockNumber),
|
||||||
berlinBlock: some(0.toBlockNumber),
|
berlinBlock: some(0.toBlockNumber),
|
||||||
londonBlock: some(0.toBlockNumber),
|
londonBlock: some(0.toBlockNumber),
|
||||||
|
terminalTotalDifficulty: some(sepoliaTTD),
|
||||||
shanghaiTime: some(1_677_557_088.fromUnix)
|
shanghaiTime: some(1_677_557_088.fromUnix)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue