-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
IBC send via broadcasting endpoint #8022
Comments
IBC doesn't support Amino. You will need to use a protobuf |
Anyway to avoid introducing protobuf here? |
Why does the broadcasting endpoint not handle protobuf serialization? |
No
It's an amino endpoint. The JSON you sent was amino and uses undefined types |
Can someone post the best available migration guide for @faboweb ? @amaurymartiny @anilcse @clevinson ? |
Why is this working then for every other transaction? Or will this not work
either for other txs in the future? Please don't make this complicated ^^'
Aaron Craelius <[email protected]> schrieb am Di., 24. Nov. 2020,
12:50:
… Anyway to avoid introducing protobuf here?
No
Why does the broadcasting endpoint not handle protobuf serialization?
It's an amino endpoint. The JSON you sent was amino and uses undefined
types
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8022 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMY5WP3LMPV7UA3RIB33MLSRPW6JANCNFSM4UBEVEMA>
.
|
The current docs for REST endpoints migration are here: https://docs.cosmos.network/master/migrations/rest.html |
IBC doesn't support amino at all. Other transactions which supported amino before still do but are being deprecated. In general, these endpoints are all deprecated and will stop working. They were left in place to allow for a less dramatic transition but they are basically unsupported and compatibility isn't guaranteed. We advise that you migrate to grpc or grpc gateway REST endpoints. |
oh boy, the pain just never stops... |
Sorry 🙁 |
new modules won't support amino at all as it will be deprecated and grpc/proto has a larger set of libraries for clients |
We should definitely add a nicer error message here too, linking to the REST migration guide. Edit: while we're at it, also add to the |
Summary of Bug
Using the
POST /txs
endpoint to broadcast a tx doesn't work for IBC sends. The message type is not recognized.Message:
Response:
Version
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: