Merge PR #175: Bump SDK to latest master

This commit is contained in:
Alexander Bezobchuk
2019-11-04 10:42:10 -07:00
committed by GitHub
parent b873cb16ec
commit d518038d0b
5 changed files with 74 additions and 76 deletions

View File

@@ -602,8 +602,9 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
tests.WaitForNextNBlocksTM(1, f.Port)
// Test limit on proposals query
proposalsQuery = f.QueryGovProposals("--limit=1")
require.Equal(t, uint64(2), proposalsQuery[0].ProposalID)
proposalsQuery = f.QueryGovProposals("--limit=2")
require.Len(t, proposalsQuery, 2)
require.Equal(t, uint64(1), proposalsQuery[0].ProposalID)
f.Cleanup()
}