aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-13 00:13:49 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:56 +0800
commit7bf5e2205a49a500672ff7415921aa6659c46611 (patch)
tree15fe942ad326e76eda16bda1dd327a6b38deb6a1 /params
parent9bec0c39ad006b5652c587571c2b2411b84a7551 (diff)
downloaddexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar.gz
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar.bz2
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar.lz
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar.xz
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.tar.zst
dexon-7bf5e2205a49a500672ff7415921aa6659c46611.zip
core: vm: add totalSupply and totalStaked in the governance contract (#144)
Add totalSupply and totalStaked in the governance contract for the preperation of DEXON cryptoeconomics 4.0. Also removed the unstaked variable in node info and improve tests for delegate/undeleate.
Diffstat (limited to 'params')
-rw-r--r--params/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/params/config.go b/params/config.go
index 18cebe192..dda877548 100644
--- a/params/config.go
+++ b/params/config.go
@@ -26,8 +26,8 @@ import (
// Genesis hashes to enforce below configs on.
var (
- MainnetGenesisHash = common.HexToHash("0x54db5d33dcdf4707594d8da66369006247ac6b62fe1ff8c94bf63bdeeda87a32")
- TestnetGenesisHash = common.HexToHash("0xbf52fff3a803757e4347a01f1f04f3db59dd672b316eac9e1230b1776567e06a")
+ MainnetGenesisHash = common.HexToHash("0x4310c4984de8bf7ac1c509232d21511fae2cd73e8a1bb8365fe4e489042bc407")
+ TestnetGenesisHash = common.HexToHash("0x1fdd7ca7ccdd7c3a481f4162b8ca02a4db03859b4abaed96f7e259266d818a13")
)
var (