From 1f4b1a0f8778aad0b86fc95dde5adc369c3230bd Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 22 Dec 2023 18:44:42 -0700 Subject: [PATCH] fix test (#7197) --- x/txfees/keeper/feedecorator_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/txfees/keeper/feedecorator_test.go b/x/txfees/keeper/feedecorator_test.go index 07b5a3ce8ea..e2918040577 100644 --- a/x/txfees/keeper/feedecorator_test.go +++ b/x/txfees/keeper/feedecorator_test.go @@ -146,6 +146,9 @@ func (s *KeeperTestSuite) TestFeeDecorator() { // reset pool and accounts for each test s.SetupTest(false) s.Run(tc.name, func() { + // See DeductFeeDecorator AnteHandler for how this is used + s.FundAcc(sdk.MustAccAddressFromBech32("osmo1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmcn030"), sdk.NewCoins(sdk.NewInt64Coin("uosmo", 1))) + preFeeDecoratorTxFeeTrackerValue := s.App.TxFeesKeeper.GetTxFeesTrackerValue(s.Ctx) err := s.SetupTxFeeAnteHandlerAndChargeFee(s.clientCtx, tc.minGasPrices, tc.gasRequested, tc.isCheckTx, tc.isSimulate, tc.txFee) if tc.expectPass {