diff --git a/test/tokenfilter/setup.go b/test/tokenfilter/setup.go index aea94a1fc6..648081c70e 100644 --- a/test/tokenfilter/setup.go +++ b/test/tokenfilter/setup.go @@ -10,6 +10,7 @@ import ( "github.com/celestiaorg/celestia-app/v2/app/encoding" "github.com/celestiaorg/celestia-app/v2/pkg/appconsts" "github.com/celestiaorg/celestia-app/v2/test/util/testnode" + "github.com/celestiaorg/celestia-app/v2/x/minfee" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" @@ -241,5 +242,11 @@ func SetupWithGenesisValSet(t testing.TB, valSet *tmtypes.ValidatorSet, genAccs }, ) + // do not require a network fee for this test + subspace := app.GetSubspace(minfee.ModuleName) + minfee.RegisterMinFeeParamTable(subspace) + ctx := sdk.NewContext(app.CommitMultiStore(), tmproto.Header{}, false, log.NewNopLogger()) + subspace.Set(ctx, minfee.KeyGlobalMinGasPrice, sdk.NewDec(0)) + return app } diff --git a/test/tokenfilter/tokenfilter_test.go b/test/tokenfilter/tokenfilter_test.go index e243dd906b..d79d2b4fef 100644 --- a/test/tokenfilter/tokenfilter_test.go +++ b/test/tokenfilter/tokenfilter_test.go @@ -133,9 +133,5 @@ func (suite *TokenFilterTestSuite) TestHandleInboundTransfer() { } func TestTokenFilterTestSuite(t *testing.T) { - // FIXME: this is because the ibctesting framework we use - // doesn't set the version in the header which we require - // to know which state machine to execute against - t.Skip("token filter tests are currently not supported") suite.Run(t, new(TokenFilterTestSuite)) }