diff --git a/core/genesis.go b/core/genesis.go index e0b15347ce..c6491a8983 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -312,7 +312,7 @@ func GenesisBlockForTesting(db ethdb.Database, addr common.Address, balance *big func DefaultGenesisBlock() *Genesis { return &Genesis{ Config: params.MainnetChainConfig, - Nonce: 0xC261220, + Nonce: 66, GasLimit: 5000, Difficulty: big.NewInt(17179869184), Alloc: decodePrealloc(mainnetAllocData), diff --git a/core/genesis.json b/core/genesis.json index 768b1718e3..341e8d2275 100644 --- a/core/genesis.json +++ b/core/genesis.json @@ -7,13 +7,13 @@ "eip155Block": 0, "eip158Block": 0 }, - "nonce": "0x000000000c261220", + "nonce": "66", "difficulty": "17179869184", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000", "timestamp": "0x00", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", - "extraData": "0x", + "extraData": "0x", "gasLimit": "5000", "alloc": { "06219483E217c9aD479f76a95426f689eF4D5951": { diff --git a/params/config.go b/params/config.go index 5e4faf9169..a29df9a7de 100644 --- a/params/config.go +++ b/params/config.go @@ -31,10 +31,10 @@ var ( var ( // MainnetChainConfig is the chain parameters to run a node on the main network. MainnetChainConfig = &ChainConfig{ - ChainId: big.NewInt(1), + ChainId: big.NewInt(24122000), HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, - DAOForkSupport: false, + DAOForkSupport: true, EIP150Block: big.NewInt(0), EIP150Hash: common.HexToHash("0x3f9c0f661c8b2aab93eafda1c97daed0d418c87cd300292ebcc1f7e03df0d8f3"), EIP155Block: big.NewInt(0),