-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Cosmos IBC memo field added in Nov 11, 2022 #3793
Comments
Hi @chokokatana, thanks for the note and the research!
No, it's not only about adding the field to wallet-core/rust/tw_cosmos_sdk/src/modules/tx_builder.rs Lines 258 to 269 in 7523c98
And also at wallet-core/rust/tw_cosmos_sdk/src/transaction/message/ibc_message.rs Lines 40 to 48 in cd5a274
The most important is to add a transaction test at rust/tw_cosmos_sdk/tests/sign.rs with a link to a successfully broadcasted transaction on mainnet |
Is your feature request related to a problem? Please describe.
Coming from this discussion where I asked for help signing a Cosmos.Message.Transfer, the memo I was trying to sign is apparently "an ibc transfer memo not a tx memo". At the moment the only memo in Cosmos.proto would be presumably the tx memo, but googling for the IBC structure I found this specification where there's an optional memo field in the message itself:
This links documentation discussing adding at some point the memo field and how implementations are presumed to deal with this new field. The revision history of the document mentions the field being added in November 2022. A search in this repository yields issues #1818 and #2626, both having an earlier date, and probably explaining why this memo field does not exist in
Cosmos.proto
.Describe the solution you'd like
Addition of an optional memo field to the Cosmos.Message.Transfer structure.
Would it be ok to simply modify the
Cosmos.proto
with the new optional field and do a pull request, or would this change require more changes? I'm unfamiliar with the project and actual consequences of this change, but if you offer guidance I will try to implement this since I need it.The text was updated successfully, but these errors were encountered: