From 1bf06ae57964b48afe4abb939c920b166348dc8a Mon Sep 17 00:00:00 2001 From: Vladyslav Budichenko Date: Fri, 1 Nov 2024 16:35:05 -0400 Subject: [PATCH] wip: update message signer --- x/evm/types/msg.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/x/evm/types/msg.go b/x/evm/types/msg.go index ea6d89e663..d4dce512b7 100644 --- a/x/evm/types/msg.go +++ b/x/evm/types/msg.go @@ -36,15 +36,13 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/auth/signing" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core" + ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/evmos/ethermint/types" protov1 "github.com/golang/protobuf/proto" //nolint:staticcheck protov2 "google.golang.org/protobuf/proto" "google.golang.org/protobuf/protoadapt" - anypb "google.golang.org/protobuf/types/known/anypb" - - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - ethtypes "github.com/ethereum/go-ethereum/core/types" ) var ( @@ -387,7 +385,6 @@ func GetSigners(msg protov2.Message) ([][]byte, error) { // return nil, err //} - anypb.Any{}.UnmarshalTo() tryingTypeAnyV1, err := codectypes.NewAnyWithValue(msgV1) fmt.Println("Eth message tryingTypeAnyV1", tryingTypeAnyV1) if err != nil {