From 46860cc1bf9412a9fecc23bc5f723187d5b8c44b Mon Sep 17 00:00:00 2001 From: Vladyslav Budichenko Date: Mon, 4 Nov 2024 19:39:24 -0500 Subject: [PATCH] wip: update e2e test for debugging --- ethereum/eip712/eip712.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereum/eip712/eip712.go b/ethereum/eip712/eip712.go index 6e774b3698..9230e9e6d9 100644 --- a/ethereum/eip712/eip712.go +++ b/ethereum/eip712/eip712.go @@ -85,14 +85,14 @@ func ConstructUntypedEIP712Data( bz := legacytx.RegressionTestingAminoCodec.MustMarshalJSON(msg) fmt.Println("ConstructUntypedEIP712Data bz", bz) msgBytes := sdk.MustSortJSON(bz) - fmt.Println("ConstructUntypedEIP712Data msgBytes", msgBytes) + fmt.Println("ConstructUntypedEIP712Data msgBytes", json.RawMessage(msgBytes)) //legacyMsg, ok := msg.(legacytx.LegacyMsg) //if !ok { // panic(fmt.Errorf("expected %T when using amino JSON", (*legacytx.LegacyMsg)(nil))) //} //msgsBytes := json.RawMessage(legacyMsg.GetSignBytes()) - inInterface[fmt.Sprintf("msg%d", i+1)] = msgBytes + inInterface[fmt.Sprintf("msg%d", i+1)] = json.RawMessage(msgBytes) } bz, err := json.Marshal(inInterface)