From dbc24a7c0acf7bf2af7a85108d8df68574bdf91a Mon Sep 17 00:00:00 2001 From: Shane Bammel Date: Tue, 27 Sep 2022 12:35:57 -0500 Subject: [PATCH] Add placeholder config for pulsechain mainnet --- params/pulse.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/params/pulse.go b/params/pulse.go index 37132fcf2..bd4522c47 100644 --- a/params/pulse.go +++ b/params/pulse.go @@ -14,6 +14,30 @@ type Treasury struct { } var ( + PulseChainConfig = &ChainConfig{ + ChainID: big.NewInt(942), + HomesteadBlock: big.NewInt(1_150_000), + DAOForkBlock: big.NewInt(1_920_000), + DAOForkSupport: true, + EIP150Block: big.NewInt(2_463_000), + EIP150Hash: common.HexToHash("0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"), + EIP155Block: big.NewInt(2_675_000), + EIP158Block: big.NewInt(2_675_000), + ByzantiumBlock: big.NewInt(4_370_000), + ConstantinopleBlock: big.NewInt(7_280_000), + PetersburgBlock: big.NewInt(7_280_000), + IstanbulBlock: big.NewInt(9_069_000), + MuirGlacierBlock: big.NewInt(9_200_000), + BerlinBlock: big.NewInt(12_244_000), + LondonBlock: big.NewInt(12_965_000), + ArrowGlacierBlock: big.NewInt(13_773_000), + GrayGlacierBlock: big.NewInt(15_050_000), + TerminalTotalDifficulty: MainnetTerminalTotalDifficulty, // 58_750_000_000_000_000_000_000 + TerminalTotalDifficultyPassed: true, + Ethash: new(EthashConfig), + PrimordialPulseBlock: big.NewInt(15_700_000), // TODO: UPDATE FORK BLOCK + } + PulseChainTestnetConfig = &ChainConfig{ ChainID: big.NewInt(942), HomesteadBlock: big.NewInt(1_150_000),