Skip to content

Commit

Permalink
fix gov genesis test
Browse files Browse the repository at this point in the history
  • Loading branch information
likhita-809 committed May 18, 2023
1 parent b377aae commit d767967
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integration/gov/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,13 @@ func TestImportExportQueues(t *testing.T) {
},
)

s2.app.Commit(context.TODO(), &abci.RequestCommit{})
s2.app.FinalizeBlock(context.TODO(), &abci.RequestFinalizeBlock{
Height: s2.app.LastBlockHeight() + 1,
})
ctx2 := s2.app.BaseApp.NewContext(false, cmtproto.Header{})

s2.app.Commit(context.TODO(), &abci.RequestCommit{})
s2.app.FinalizeBlock(context.TODO(), &abci.RequestFinalizeBlock{
Height: s2.app.LastBlockHeight() + 1,
})

ctx2 := s2.app.BaseApp.NewContext(false, cmtproto.Header{})

params, err = s2.GovKeeper.Params.Get(ctx2)
assert.NilError(t, err)
// Jump the time forward past the DepositPeriod and VotingPeriod
Expand Down

0 comments on commit d767967

Please sign in to comment.