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)