mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
51 lines
1.9 KiB
Go
51 lines
1.9 KiB
Go
package chains
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ethereum/go-ethereum/common"
|
|
"github.com/ethereum/go-ethereum/core"
|
|
"github.com/ethereum/go-ethereum/params"
|
|
)
|
|
|
|
var mumbaiTestnet = &Chain{
|
|
Hash: common.HexToHash("0x7b66506a9ebdbf30d32b43c5f15a3b1216269a1ec3a75aa3182b86176a2b1ca7"),
|
|
NetworkId: 80001,
|
|
Genesis: &core.Genesis{
|
|
Config: ¶ms.ChainConfig{
|
|
ChainID: big.NewInt(80001),
|
|
HomesteadBlock: big.NewInt(0),
|
|
DAOForkBlock: nil,
|
|
DAOForkSupport: true,
|
|
EIP150Hash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
|
|
EIP150Block: big.NewInt(0),
|
|
EIP155Block: big.NewInt(0),
|
|
EIP158Block: big.NewInt(0),
|
|
ByzantiumBlock: big.NewInt(0),
|
|
ConstantinopleBlock: big.NewInt(0),
|
|
PetersburgBlock: big.NewInt(0),
|
|
IstanbulBlock: big.NewInt(2722000),
|
|
MuirGlacierBlock: big.NewInt(2722000),
|
|
BerlinBlock: big.NewInt(13996000),
|
|
Bor: ¶ms.BorConfig{
|
|
Period: 2,
|
|
ProducerDelay: 6,
|
|
Sprint: 64,
|
|
BackupMultiplier: 2,
|
|
ValidatorContract: "0x0000000000000000000000000000000000001000",
|
|
StateReceiverContract: "0x0000000000000000000000000000000000001001",
|
|
},
|
|
},
|
|
Nonce: 0,
|
|
Timestamp: 1558348305,
|
|
GasLimit: 10000000,
|
|
Difficulty: big.NewInt(1),
|
|
Mixhash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
|
|
Coinbase: common.HexToAddress("0x0000000000000000000000000000000000000000"),
|
|
Alloc: readPrealloc("allocs/mumbai.json"),
|
|
},
|
|
Bootnodes: []string{
|
|
"enode://320553cda00dfc003f499a3ce9598029f364fbb3ed1222fdc20a94d97dcc4d8ba0cd0bfa996579dcc6d17a534741fb0a5da303a90579431259150de66b597251@54.147.31.250:30303",
|
|
"enode://f0f48a8781629f95ff02606081e6e43e4aebd503f3d07fc931fad7dd5ca1ba52bd849a6f6c3be0e375cf13c9ae04d859c4a9ae3546dc8ed4f10aa5dbb47d4998@34.226.134.117:30303",
|
|
},
|
|
}
|