mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Update fix
This commit is contained in:
parent
7a44b4f0a8
commit
d43f633690
3 changed files with 5 additions and 5 deletions
|
|
@ -312,7 +312,7 @@ func GenesisBlockForTesting(db ethdb.Database, addr common.Address, balance *big
|
||||||
func DefaultGenesisBlock() *Genesis {
|
func DefaultGenesisBlock() *Genesis {
|
||||||
return &Genesis{
|
return &Genesis{
|
||||||
Config: params.MainnetChainConfig,
|
Config: params.MainnetChainConfig,
|
||||||
Nonce: 0xC261220,
|
Nonce: 66,
|
||||||
GasLimit: 5000,
|
GasLimit: 5000,
|
||||||
Difficulty: big.NewInt(17179869184),
|
Difficulty: big.NewInt(17179869184),
|
||||||
Alloc: decodePrealloc(mainnetAllocData),
|
Alloc: decodePrealloc(mainnetAllocData),
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@
|
||||||
"eip155Block": 0,
|
"eip155Block": 0,
|
||||||
"eip158Block": 0
|
"eip158Block": 0
|
||||||
},
|
},
|
||||||
"nonce": "0x000000000c261220",
|
"nonce": "66",
|
||||||
"difficulty": "17179869184",
|
"difficulty": "17179869184",
|
||||||
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"coinbase": "0x0000000000000000000000000000000000000000",
|
"coinbase": "0x0000000000000000000000000000000000000000",
|
||||||
"timestamp": "0x00",
|
"timestamp": "0x00",
|
||||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"extraData": "0x",
|
"extraData": "0x",
|
||||||
"gasLimit": "5000",
|
"gasLimit": "5000",
|
||||||
"alloc": {
|
"alloc": {
|
||||||
"06219483E217c9aD479f76a95426f689eF4D5951": {
|
"06219483E217c9aD479f76a95426f689eF4D5951": {
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,10 @@ var (
|
||||||
var (
|
var (
|
||||||
// MainnetChainConfig is the chain parameters to run a node on the main network.
|
// MainnetChainConfig is the chain parameters to run a node on the main network.
|
||||||
MainnetChainConfig = &ChainConfig{
|
MainnetChainConfig = &ChainConfig{
|
||||||
ChainId: big.NewInt(1),
|
ChainId: big.NewInt(24122000),
|
||||||
HomesteadBlock: big.NewInt(0),
|
HomesteadBlock: big.NewInt(0),
|
||||||
DAOForkBlock: nil,
|
DAOForkBlock: nil,
|
||||||
DAOForkSupport: false,
|
DAOForkSupport: true,
|
||||||
EIP150Block: big.NewInt(0),
|
EIP150Block: big.NewInt(0),
|
||||||
EIP150Hash: common.HexToHash("0x3f9c0f661c8b2aab93eafda1c97daed0d418c87cd300292ebcc1f7e03df0d8f3"),
|
EIP150Hash: common.HexToHash("0x3f9c0f661c8b2aab93eafda1c97daed0d418c87cd300292ebcc1f7e03df0d8f3"),
|
||||||
EIP155Block: big.NewInt(0),
|
EIP155Block: big.NewInt(0),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue