From 6e9528a2f5e71b38e4866c57b4e9efd82ee4ee12 Mon Sep 17 00:00:00 2001 From: Emil Georgiev Date: Tue, 26 Mar 2024 13:19:18 +0200 Subject: [PATCH] test(sims): fix test cases feegrant (#19863) Co-authored-by: son trinh --- tests/sims/feegrant/operations_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sims/feegrant/operations_test.go b/tests/sims/feegrant/operations_test.go index 41e9fb1feb04..cf00c52389f8 100644 --- a/tests/sims/feegrant/operations_test.go +++ b/tests/sims/feegrant/operations_test.go @@ -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) }