diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-13 00:13:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-01-14 15:26:57 +0800 |
commit | 646d6d4c77e0726d82cb016e12aab8edaccb7e95 (patch) | |
tree | 55299e9686dee75ffb400058cc52395ec89bbc5b /params/config.go | |
parent | 0b6df729bbd9242d29913fd42a3ba8aca079e195 (diff) | |
download | dexon-646d6d4c77e0726d82cb016e12aab8edaccb7e95.tar.gz dexon-646d6d4c77e0726d82cb016e12aab8edaccb7e95.tar.zst dexon-646d6d4c77e0726d82cb016e12aab8edaccb7e95.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/config.go')
-rw-r--r-- | params/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/params/config.go b/params/config.go index 71a27f59a..476b6cd4f 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") ) // TODO(jimmy): Add DMoment in the config. |