From dd27d606b4d6fd1ef0433da0abc3093221bbc9fb Mon Sep 17 00:00:00 2001 From: kien6034 Date: Wed, 13 Nov 2024 11:54:52 +0700 Subject: [PATCH] chore: fix comments --- app/upgrades/v4_2_6/upgrade_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/upgrades/v4_2_6/upgrade_test.go b/app/upgrades/v4_2_6/upgrade_test.go index b6809a39..f5980307 100644 --- a/app/upgrades/v4_2_6/upgrade_test.go +++ b/app/upgrades/v4_2_6/upgrade_test.go @@ -30,10 +30,9 @@ func (s *UpgradeTestSuite) MockBankBalances() { sdk.NewCoin(v4.Denom, math.NewInt(MockDeadContractBalance)), ) - // Replace FundAccount with BankKeeper's MintCoins and SendCoinsFromModuleToAccount + // Mint coins to the dead contract err := s.App.BankKeeper.MintCoins(s.Ctx, "mint", coins) s.Require().NoError(err) - err = s.App.BankKeeper.SendCoinsFromModuleToAccount(s.Ctx, "mint", deadContractAddr, coins) s.Require().NoError(err) @@ -59,7 +58,7 @@ func (s *UpgradeTestSuite) TestUpgrade() { contractBalance := s.App.BankKeeper.GetAllBalances(s.Ctx, deadContractAddr) s.Require().Equal(int64(0), contractBalance.AmountOf(v4.Denom).Int64()) - // Foundation balance get drained + // Foundation balance is increased foundationAddr := sdk.MustAccAddressFromBech32(v4.Foundation) foundationBalance := s.App.BankKeeper.GetAllBalances(s.Ctx, foundationAddr) s.T().Logf("balance: %v", foundationBalance)