From 8bae394152de824eac542e229dfb0ece296a5c01 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 21 May 2024 20:52:49 +0200 Subject: [PATCH] add debug logs --- x/evm/keeper/state_transition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/evm/keeper/state_transition.go b/x/evm/keeper/state_transition.go index a13d2cfd..2a47bc1a 100644 --- a/x/evm/keeper/state_transition.go +++ b/x/evm/keeper/state_transition.go @@ -16,6 +16,7 @@ package keeper import ( + "fmt" "math/big" tmtypes "github.com/cometbft/cometbft/types" @@ -157,6 +158,8 @@ func (k *Keeper) ApplyTransaction(ctx sdk.Context, msgEth *types.MsgEthereumTx) return nil, errorsmod.Wrap(err, "failed to load evm config") } ethTx := msgEth.AsTransaction() + fmt.Println("regular ethermint tx", ethTx.Hash()) + txConfig := k.TxConfig(ctx, ethTx.Hash()) // get the signer according to the chain rules from the config and block height