Skip to content

Commit

Permalink
chore: fix lint issue and test
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcre committed Oct 24, 2023
1 parent 082bf8b commit 0329fa3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion x/claim/simulation/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestRandomizedGenState(t *testing.T) {
require.Equal(t, "cosmos1ghekyjucln7y67ntx7cf27m9dpuxxemn4c8g4r", genState.ClaimRecords[0].Recipient)
require.Equal(t, "774912stake", genState.ClaimRecords[0].InitialClaimableCoins.String())
require.Equal(t, "624895stake", genState.ClaimRecords[0].ClaimableCoins.String())
require.Equal(t, []types.ConditionType{types.ConditionTypeSwap, types.ConditionTypeVote}, genState.ClaimRecords[0].ClaimedConditions)
require.Equal(t, []types.ConditionType{types.ConditionTypeLiquidStake, types.ConditionTypeVote}, genState.ClaimRecords[0].ClaimedConditions)
}

// TestRandomizedGenState tests abnormal scenarios of applying RandomizedGenState.
Expand Down
1 change: 0 additions & 1 deletion x/liquidamm/keeper/auction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func (s *KeeperTestSuite) TestPlaceBid() {
// successfully replaces the winning bid.
s.Ctx = ctx
s.PlaceBid(bidderAddr2, publicPosition.Id, 2, utils.ParseCoin("2000000sb1"))
ctx = s.Ctx

auction, found = s.keeper.GetLastRewardsAuction(s.Ctx, publicPosition.Id)
s.Require().True(found)
Expand Down

0 comments on commit 0329fa3

Please sign in to comment.