Skip to content
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

stdtx: can not make tranfer transaction #568

Open
linfeng-crypto opened this issue Dec 7, 2020 · 1 comment
Open

stdtx: can not make tranfer transaction #568

linfeng-crypto opened this issue Dec 7, 2020 · 1 comment

Comments

@linfeng-crypto
Copy link

linfeng-crypto commented Dec 7, 2020

Transfer some cion from A to B:

the TypeName is not support the cosmos-sdk/MsgSend, because - is invalid in TypeName

What's the Value of amount in the schema which type is Vec<Coin>, if it is Value::Bytes<Vec<u8>>, how to encode the Vec<Coin> to <Vec<u8>>?

@tony-iqlusion tony-iqlusion changed the title can not make tranfer transaction stdtx: can not make tranfer transaction Dec 14, 2020
@tony-iqlusion
Copy link
Member

Note: we plan on retiring the stdtx crate fairly soon, in favor of the cosmos-tx crate:

https://github.com/cosmos/cosmos-rust/tree/main/cosmos-tx

...however that crate will not support Amino-based transactions that stdtx does presently, only ones based on Protocol Buffers.

I can add support for a - in the type identifiers, but in terms of adding support for additional types in the schema, that's probably not going to happen as we intend to completely migrate away from the Amino encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants