From b04996ff14079c426a0540c38a3457de1fe36394 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 17 Nov 2018 13:18:34 +0800 Subject: 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. --- core/genesis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/genesis.go') diff --git a/core/genesis.go b/core/genesis.go index 832bff33e..0f560a57d 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -386,7 +386,7 @@ func DefaultGenesisBlock() *Genesis { Timestamp: 1540024964, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x5765692d4e696e6720536f6e696320426f6a696520323031382d31302d32302e"), - GasLimit: 8000000, + GasLimit: 80000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(mainnetAllocData), } @@ -398,7 +398,7 @@ func DefaultTestnetGenesisBlock() *Genesis { Config: params.TestnetChainConfig, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 8000000, + GasLimit: 80000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(testnetAllocData), } -- cgit v1.2.3