Skip to content

Commit

Permalink
fix: local test
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Oct 10, 2024
1 parent 172e29b commit 156dc32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/ante/max_tx_size_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
v2 "github.com/celestiaorg/celestia-app/v3/pkg/appconsts/v2"
v3 "github.com/celestiaorg/celestia-app/v3/pkg/appconsts/v3"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/stretchr/testify/require"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
version "github.com/tendermint/tendermint/proto/tendermint/version"
Expand Down Expand Up @@ -63,7 +62,7 @@ func TestMaxTxSizeDecorator(t *testing.T) {
_, err := anteHandler(ctx, nil, false)
if tc.expectError {
require.Error(t, err)
require.Contains(t, err.Error(), sdkerrors.ErrTxTooLarge.Error())
require.Contains(t, err.Error(), "tx size is larger than the application's configured threshold")
} else {
require.NoError(t, err)
}
Expand Down

0 comments on commit 156dc32

Please sign in to comment.