Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 committed Jun 5, 2024
1 parent d69b4be commit 422c26b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions x/feemarket/post/fee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import (
"testing"

"cosmossdk.io/math"

"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/stretchr/testify/mock"

sdk "github.com/cosmos/cosmos-sdk/types"

antesuite "github.com/skip-mev/feemarket/x/feemarket/ante/suite"
"github.com/skip-mev/feemarket/x/feemarket/post"
"github.com/skip-mev/feemarket/x/feemarket/types"
Expand Down Expand Up @@ -154,7 +152,8 @@ func TestPostHandle(t *testing.T) {
resolvableDenom = "atom"
)

gasLimit := antesuite.NewTestGasLimit()
// exact cost of transaction
gasLimit := uint64(27284)
validFeeAmount := types.DefaultMinBaseGasPrice.MulInt64(int64(gasLimit))
validFeeAmountWithTip := validFeeAmount.Add(math.LegacyNewDec(100))
validFee := sdk.NewCoins(sdk.NewCoin(baseDenom, validFeeAmount.TruncateInt()))
Expand Down

0 comments on commit 422c26b

Please sign in to comment.