You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our conversion from the raw type, we don't fully convert the token field. The conversion is instead completed in the send_transfer function.
ICS-20: add memo field #559 requires us to add a memo field to both MsgTransfer and PacketData. This is not DRY. Instead of copy/pasting a subset of fields from MsgTransfer to PacketData, MsgTransfer should instead contain a PacketData field.
Note that this is an example of us changing a domain type, which currently requires a breaking change (#324).
The text was updated successfully, but these errors were encountered:
Our current
MsgTransfer
struct has 2 flaws.send_transfer
function.memo
field to bothMsgTransfer
andPacketData
. This is not DRY. Instead of copy/pasting a subset of fields fromMsgTransfer
toPacketData
,MsgTransfer
should instead contain aPacketData
field.Note that this is an example of us changing a domain type, which currently requires a breaking change (#324).
The text was updated successfully, but these errors were encountered: