aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-17 13:18:34 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit0e3b223de19e1975453206d8a0d326b575cb0afe (patch)
tree5b845b41416efafa814c47769a198c0e1dc0edae /core/genesis.go
parent4246c8733870b92a8090bff1b3dc0c1159c535ad (diff)
downloaddexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar.gz
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar.bz2
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar.lz
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar.xz
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.tar.zst
dexon-0e3b223de19e1975453206d8a0d326b575cb0afe.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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 8b5588a0f..440ff1a64 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),
}