Skip to content

Commit

Permalink
test(sims): fix test cases feegrant (#19863)
Browse files Browse the repository at this point in the history
Co-authored-by: son trinh <[email protected]>
  • Loading branch information
EmilGeorgiev and sontrinh16 authored Mar 26, 2024
1 parent 23723be commit 6e9528a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sims/feegrant/operations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ func (suite *SimTestSuite) getTestingAccounts(r *rand.Rand, n int) []simtypes.Ac

// add coins to the accounts
for _, account := range accounts {
acc := suite.accountKeeper.NewAccountWithAddress(suite.ctx, account.Address)
suite.accountKeeper.SetAccount(suite.ctx, acc)
err := banktestutil.FundAccount(suite.ctx, suite.bankKeeper, account.Address, initCoins)
suite.Require().NoError(err)
}
Expand Down

0 comments on commit 6e9528a

Please sign in to comment.