Skip to content

Commit

Permalink
Merge pull request #381 from wukongcheng/silei/develop
Browse files Browse the repository at this point in the history
R4R: fix failed unit test 'TestSetKVStoreKeylist'
  • Loading branch information
wukongcheng authored Oct 12, 2018
2 parents 56b8cb6 + 951545f commit 3c62a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/upgrade/keep_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ func TestSetKVStoreKeylist(t *testing.T) {

upgradeparams.ProposalAcceptHeightParameter.SetReadWriter(paramKeeper.Setter())
upgradeparams.CurrentUpgradeProposalIdParameter.SetReadWriter(paramKeeper.Setter())
upgradeparams.SwitchPeriodParameter.SetReadWriter(paramKeeper.Setter())

InitGenesis(ctx, keeper, router)
InitGenesis(ctx, keeper, router, DefaultGenesisStateForTest())
keeper.SetKVStoreKeylist(ctx)
}

Expand Down

0 comments on commit 3c62a91

Please sign in to comment.