diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-17 13:18:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f (patch) | |
tree | bde9aad9a676129fdb92732ea7a9d92bdfeb7e8b /core/genesis.go | |
parent | 10697136e876446a2807d9fd4799a0a5b9605e30 (diff) | |
download | go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar.gz go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar.bz2 go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar.lz go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar.xz go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.tar.zst go-tangerine-e5ebb174d61a6f7b0b9c6023b15c33a246b2c14f.zip |
core: more fix on light node synchronization (#32)
Fix gas calculation in governance contract.
Correctly register round height when processing pending blocks. We
should register the mapping when we get the pending block instead of
waiting for block confirmation.
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go index 6eddf851d..5d8c54219 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -387,7 +387,7 @@ func DefaultGenesisBlock() *Genesis { Timestamp: 1540024964, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x5765692d4e696e6720536f6e696320426f6a696520323031382d31302d32302e"), - GasLimit: 8000000, + GasLimit: 80000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(mainnetAllocData), } @@ -399,7 +399,7 @@ func DefaultTestnetGenesisBlock() *Genesis { Config: params.TestnetChainConfig, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 8000000, + GasLimit: 80000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(testnetAllocData), } |