diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-08 15:58:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 15:58:51 +0800 |
commit | 1ee5863fd4a295d34c3a2d602d5603e8746e3f7b (patch) | |
tree | 044308b22000bb0c9f5a8c3c21f465159418db24 /simulation/app_test.go | |
parent | dbe83ea4a324941417d6ff09230e5874d5ba5df5 (diff) | |
download | tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar.gz tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar.bz2 tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar.lz tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar.xz tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.tar.zst tangerine-consensus-1ee5863fd4a295d34c3a2d602d5603e8746e3f7b.zip |
simulation: use test.Governacne in simulation (#311)
* Move simulation.Network to test package
* Use test.Governance in simulation
* Pack/Apply state request in blocks payload
* Add Governance.SwitchToRemoteMode
This would trigger governance to broadcast
pending state change requests when changes.
* Allow to marshal/unmarshal packedStateChanges
* Attach test.Network and test.State
Diffstat (limited to 'simulation/app_test.go')
-rw-r--r-- | simulation/app_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/app_test.go b/simulation/app_test.go index efd27b5..02b0f48 100644 --- a/simulation/app_test.go +++ b/simulation/app_test.go @@ -32,7 +32,7 @@ type SimAppSuite struct { func (s *SimAppSuite) TestAppInterface() { var app core.Application - app = newSimApp(types.NodeID{}, nil) + app = newSimApp(types.NodeID{}, nil, nil) s.NotPanics(func() { _ = app.(core.Debug) }) |