package params import ( "math/big" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" ) // Optional treasury for launching PulseChain testnets type Treasury struct { Addr string `json:"addr"` Balance *math.HexOrDecimal256 `json:"balance"` } var ( PulseChainTestnetConfig = &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 Treasury: testnetTreasury(), } ) func testnetTreasury() *Treasury { var pulseChainTestnetTreasuryBalance math.HexOrDecimal256 pulseChainTestnetTreasuryBalance.UnmarshalText([]byte("0xC9F2C9CD04674EDEA40000000")) return &Treasury{ Addr: "0xceB59257450820132aB274ED61C49E5FD96E8868", Balance: &pulseChainTestnetTreasuryBalance, } }