From 11e2de8c43f867764d4dd1146d467cb6e9bf114b Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Fri, 22 Feb 2019 13:14:55 +0800 Subject: core: Remove K, Phi and NumChains from Governance (#198) * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain --- test/genesis.json | 5 +---- test/sync_core.sh | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/genesis.json b/test/genesis.json index 0785f36c7..96ad4924c 100644 --- a/test/genesis.json +++ b/test/genesis.json @@ -20,14 +20,11 @@ "nextHalvingSupply": "0x813f3978f89409844000000", "lastHalvedAmount": "0x4d8c55aefb8c05b5c000000", "blockGasLimit": 40000000, - "numChains": 6, "lambdaBA": 250, "lambdaDKG": 2500, - "k": 0, - "phiRatio": 0.667, "notarySetSize": 4, "dkgSetSize": 4, - "roundInterval": 90000, + "roundLength": 90, "minBlockInterval": 1000, "fineValues": [ "0x21e19e0c9bab2400000", diff --git a/test/sync_core.sh b/test/sync_core.sh index 5e09c47cc..2062de6f4 100755 --- a/test/sync_core.sh +++ b/test/sync_core.sh @@ -1,3 +1,3 @@ #!/bin/bash -govendor fetch github.com/dexon-foundation/dexon-consensus/... +govendor fetch github.com/dexon-foundation/dexon-consensus/...@single-chain -- cgit v1.2.3