diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-03-14 18:29:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 18:29:24 +0800 |
commit | 651282c0790c4d64ecdde2a7174a8f4f77a67e1c (patch) | |
tree | 408798ddd2ce32f142e291a9e179b80a9735fe7d /integration_test | |
parent | 8786160e28cf17c1125e26939b81ac59df5c260a (diff) | |
download | dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar.gz dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar.bz2 dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar.lz dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar.xz dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.tar.zst dexon-consensus-651282c0790c4d64ecdde2a7174a8f4f77a67e1c.zip |
test: prohibit dkg (#489)
* Allow to prohibit DKG changes at governance layer.
* Allow test.App to broadcast RoundEvent
Diffstat (limited to 'integration_test')
-rw-r--r-- | integration_test/byzantine_test.go | 2 | ||||
-rw-r--r-- | integration_test/consensus_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/integration_test/byzantine_test.go b/integration_test/byzantine_test.go index c90c9a1..a709870 100644 --- a/integration_test/byzantine_test.go +++ b/integration_test/byzantine_test.go @@ -81,7 +81,7 @@ func (s *ByzantineTestSuite) setupNodes( gov.SwitchToRemoteMode(networkModule) gov.NotifyRound(0) networkModule.AddNodeSetCache(utils.NewNodeSetCache(gov)) - app := test.NewApp(1, gov) + app := test.NewApp(1, gov, nil) nodes[nID] = &node{nID, nil, app, gov, dbInst, networkModule} go func() { defer wg.Done() diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go index 4f916c3..78d0de5 100644 --- a/integration_test/consensus_test.go +++ b/integration_test/consensus_test.go @@ -78,7 +78,7 @@ func (s *ConsensusTestSuite) setupNodes( gov.SwitchToRemoteMode(networkModule) gov.NotifyRound(0) networkModule.AddNodeSetCache(utils.NewNodeSetCache(gov)) - app := test.NewApp(1, gov) + app := test.NewApp(1, gov, nil) nID := types.NewNodeID(k.PublicKey()) nodes[nID] = &node{nID, nil, app, gov, dbInst, networkModule} go func() { |