diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-13 00:13:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | cae038236416efd8a3436664024f9cadee741512 (patch) | |
tree | d759713ad3fc4aa4351c803593a6f9a2b9186f49 /params | |
parent | adb2f97457e766c3c43d6c6603f57c93225c041b (diff) | |
download | dexon-cae038236416efd8a3436664024f9cadee741512.tar.gz dexon-cae038236416efd8a3436664024f9cadee741512.tar.zst dexon-cae038236416efd8a3436664024f9cadee741512.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.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/params/config.go b/params/config.go index a60dbca6a..bc4c5a22c 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 ( |