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@byzantine-lab.io>2019-06-12 17:27:21 +0800
commitf82a81c6fa36c8ee6ba6a55e0662930c8f0d2658 (patch)
tree72561d414bcef69d2114578fc1b1d87a428df3a8 /params
parent77fc30443842b1e62311c35b1bdd729fa51d005c (diff)
downloadgo-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar.gz
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar.bz2
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar.lz
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar.xz
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.tar.zst
go-tangerine-f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658.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 ca99049ba..c2d729c59 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")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of