test(sims): fix test cases feegrant (#19863)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
This commit is contained in:
parent
23723bef21
commit
6e9528a2f5
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user