From 0a8c6063e8efba1d04a8b6ac24ca3a0aaa0594f7 Mon Sep 17 00:00:00 2001 From: Vladyslav Budichenko Date: Mon, 4 Nov 2024 09:41:23 -0500 Subject: [PATCH] wip: update signing --- x/evm/types/codec.go | 4 ---- x/evm/types/msg.go | 1 - 2 files changed, 5 deletions(-) diff --git a/x/evm/types/codec.go b/x/evm/types/codec.go index 4b58d83bca..6040014ea5 100644 --- a/x/evm/types/codec.go +++ b/x/evm/types/codec.go @@ -17,7 +17,6 @@ package types import ( errorsmod "cosmossdk.io/errors" - "fmt" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -94,9 +93,6 @@ func UnpackTxData(any *codectypes.Any) (TxData, error) { return nil, errorsmod.Wrap(errortypes.ErrUnpackAny, "protobuf Any message cannot be nil") } - fmt.Println("UnpackTxData cached", any.GetCachedValue()) - fmt.Println("UnpackTxData not cached", any.GetValue()) - txData, ok := any.GetCachedValue().(TxData) if !ok { return nil, errorsmod.Wrapf(errortypes.ErrUnpackAny, "cannot unpack Any into TxData %T", any) diff --git a/x/evm/types/msg.go b/x/evm/types/msg.go index beb95a2798..2ca8a84765 100644 --- a/x/evm/types/msg.go +++ b/x/evm/types/msg.go @@ -330,7 +330,6 @@ func GetSigners(msg protov2.Message) ([][]byte, error) { if err != nil { return nil, err } - fmt.Println("Eth message tryingTypeAnyV1 MsgEthereumTx data", msgTyped.Data) var data TxData switch {