diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2018-11-12 11:34:02 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:56 +0800 |
commit | d89df904e4e9c485e2edff20ab523d441811c034 (patch) | |
tree | d539e577764d3013e21782d9381de6f247e2d06c /core/genesis.go | |
parent | 8bb6abd7f40e88a18148799c9a8b4a42f7cc4aab (diff) | |
download | dexon-d89df904e4e9c485e2edff20ab523d441811c034.tar.gz dexon-d89df904e4e9c485e2edff20ab523d441811c034.tar.zst dexon-d89df904e4e9c485e2edff20ab523d441811c034.zip |
params: fix genesis block config and use testnet for test (#10)
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/genesis.go b/core/genesis.go index cc3a0750c..8cd6b4807 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -382,7 +382,7 @@ func DefaultGenesisBlock() *Genesis { return &Genesis{ Config: params.MainnetChainConfig, Timestamp: 1540024964, - Nonce: 42, + Nonce: 0x42, ExtraData: hexutil.MustDecode("0x5765692d4e696e6720536f6e696320426f6a696520323031382d31302d32302e"), GasLimit: 8000000, Difficulty: big.NewInt(1), @@ -394,9 +394,9 @@ func DefaultGenesisBlock() *Genesis { func DefaultTestnetGenesisBlock() *Genesis { return &Genesis{ Config: params.TestnetChainConfig, - Nonce: 42, + Nonce: 0x42, ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 16777216, + GasLimit: 8000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(testnetAllocData), } |