From 5df75b22538c7fda53179968669ddc57d9a54940 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 22 Dec 2023 18:41:12 -0700 Subject: [PATCH] fix test --- 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 {