Skip to content

Commit 6e9528a

Browse files
test(sims): fix test cases feegrant (#19863)
Co-authored-by: son trinh <[email protected]>
1 parent 23723be commit 6e9528a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/sims/feegrant/operations_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ func (suite *SimTestSuite) getTestingAccounts(r *rand.Rand, n int) []simtypes.Ac
8686

8787
// add coins to the accounts
8888
for _, account := range accounts {
89+
acc := suite.accountKeeper.NewAccountWithAddress(suite.ctx, account.Address)
90+
suite.accountKeeper.SetAccount(suite.ctx, acc)
8991
err := banktestutil.FundAccount(suite.ctx, suite.bankKeeper, account.Address, initCoins)
9092
suite.Require().NoError(err)
9193
}

0 commit comments

Comments
 (0)