diff --git a/app/ante/setup_context_decorator.go b/app/ante/setup_context_decorator.go index 8482203..416033b 100644 --- a/app/ante/setup_context_decorator.go +++ b/app/ante/setup_context_decorator.go @@ -2,13 +2,11 @@ package ante import ( "fmt" - "strconv" errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" - "github.com/planetmint/planetmint-go/util" ) var _ GasTx = (*legacytx.StdTx)(nil) // assert StdTx implements GasTx @@ -36,7 +34,6 @@ func NewSetUpContextDecorator(dk DaoKeeper) SetUpContextDecorator { func (sud SetUpContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error) { // all transactions must implement GasTx - util.GetAppLogger().Debug(ctx, "BLOCKHEIGHT : "+strconv.FormatInt(ctx.BlockHeight(), 10)) gasTx, ok := tx.(GasTx) if !ok { // Set a gas meter with limit 0 as to prevent an infinite gas meter attack