Skip to content

Commit

Permalink
fix test (#7197)
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn authored Dec 23, 2023
1 parent 1ae31ff commit 1f4b1a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/txfees/keeper/feedecorator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f4b1a0

Please sign in to comment.