Skip to content

Commit

Permalink
wip: update e2e test for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
boodyvo committed Nov 4, 2024
1 parent 17663a0 commit 8128d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ethereum/eip712/eip712.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 8128d9e

Please sign in to comment.