From 8128d9ec74820ad6eed3af94883a4947b8331035 Mon Sep 17 00:00:00 2001 From: Vladyslav Budichenko Date: Mon, 4 Nov 2024 18:31:36 -0500 Subject: [PATCH] wip: update e2e test for debugging --- ethereum/eip712/eip712.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethereum/eip712/eip712.go b/ethereum/eip712/eip712.go index 25a8d7c403..6e774b3698 100644 --- a/ethereum/eip712/eip712.go +++ b/ethereum/eip712/eip712.go @@ -71,6 +71,7 @@ func ConstructUntypedEIP712Data( bz := legacytx.RegressionTestingAminoCodec.MustMarshalJSON(msg) fmt.Println("ConstructUntypedEIP712Data bz for msg: ", msg) fmt.Println("ConstructUntypedEIP712Data bz for msg: ", bz) + fmt.Println("ConstructUntypedEIP712Data bz for msg: ", sdk.MustSortJSON(bz)) } // remove msgs from the sign doc since we will be adding them as separate fields @@ -83,7 +84,7 @@ func ConstructUntypedEIP712Data( bz := legacytx.RegressionTestingAminoCodec.MustMarshalJSON(msg) fmt.Println("ConstructUntypedEIP712Data bz", bz) - msgBytes := mustSortJSON(bz) + msgBytes := sdk.MustSortJSON(bz) fmt.Println("ConstructUntypedEIP712Data msgBytes", msgBytes) //legacyMsg, ok := msg.(legacytx.LegacyMsg)