removed log line

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2024-03-05 11:07:49 +01:00
parent 87a4384891
commit c4f814b4dd
No known key found for this signature in database

View File

@ -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