diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-01-24 11:16:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 11:16:48 +0800 |
commit | 779f63a9f6fc3f4c628f0b97c822546ac51d0eb6 (patch) | |
tree | aa25f260483e8c9430686cb10eba87d286072830 /core/test/governance_test.go | |
parent | 0e6dc8b38f7df249831aebd4928ec42b827038e3 (diff) | |
download | tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.gz tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.bz2 tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.lz tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.xz tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.zst tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.zip |
core: remove Governance.NotifyRoundHeight (#431)
Diffstat (limited to 'core/test/governance_test.go')
-rw-r--r-- | core/test/governance_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/test/governance_test.go b/core/test/governance_test.go index 30f1469..cef2aea 100644 --- a/core/test/governance_test.go +++ b/core/test/governance_test.go @@ -87,13 +87,13 @@ func (s *GovernanceTestSuite) TestRegisterChange() { req.NoError(g.RegisterConfigChange(7, StateChangeNumChains, uint32(40))) // In local mode, state for round 6 would be ready after notified with // round 2. - g.NotifyRoundHeight(2, 0) - g.NotifyRoundHeight(3, 0) + g.NotifyRound(2) + g.NotifyRound(3) // In local mode, state for round 7 would be ready after notified with // round 6. - g.NotifyRoundHeight(4, 0) + g.NotifyRound(4) // Notify governance to take a snapshot for round 7's configuration. - g.NotifyRoundHeight(5, 0) + g.NotifyRound(5) req.Equal(g.Configuration(6).NumChains, uint32(32)) req.Equal(g.Configuration(7).NumChains, uint32(40)) } |