Remove sdk.MustSortJSON
from interchain account packet data GetBytes
function
#3917
Labels
type: code hygiene
Clean up code but without changing functionality or interfaces
Summary
See reasoning in #3915. Do not switch to standard json library as this changes the json econding due to the use of the
enum
on theType
field.Problem Definition
Sorting is unnecessary and has been deprecated in the SDK.
We cannot change to standard json because the encoding is different:
json
proto3 json
NOTE: proto3 json can decode the standard json encoding, but the standard json library cannot decode the proto3 json encoding
Proposal
Remove
sdk.MustSortJSON
usage inInterchainAccountPacketData.GetBytes()
For Admin Use
The text was updated successfully, but these errors were encountered: