-
Notifications
You must be signed in to change notification settings - Fork 3.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
[Bug]: AutoCli cannot serialize Coin positional args #21071
Comments
Thanks! I'll check this ASAP. |
Yep, I saw that. But in |
@julienrbrt did you had any chance looking at it? |
I haven't yet. I am currently off. I'll look when I'm back. |
Looking now, sorry for the delay |
I am unable to reproduce: make install
make init-simapp
simd start &
simd q counter count # {}
simd tx counter increase-couter 100stake 5 --yes
simd q counter count # total_count: "5" |
Can you make sure you use the latest version of autocli and of x/tx? |
Closing this as stale. Feel free to re-open. |
Re-opening as Noble is encountering the same issue:
|
I could not reproduce the issue for the Coin type. However, in the case of Noble, it fails due to the use of DecCoin. Currently, we don’t have a flag for the DecCoin type. As a result, it represents the argument as |
Is there an existing issue for this?
What happened?
We're integrating Autocli into neutron and have a problem with Coin as a positional argument.
If you're trying make cli tx with chaind command 1token_a, it returns error.
Can you help me understand? Since I believe there is not much more that can be changed.
Autocli link to code here:
https://github.com/neutron-org/neutron/blob/98f6c79c6092f37aa95f71035ad6841c40f1526d/x/tokenfactory/autocli.go#L58
Proto type:
https://github.com/neutron-org/neutron/blob/e855c8f1901a6954dec97748baabd7f98b5e02bc/proto/osmosis/tokenfactory/v1beta1/tx.proto#L59
I also have problems with some queries returning '{}' empty response, but this is another story
Cosmos SDK Version
0.50.7
How to reproduce?
feat/autocli-all
branchmake build
make init
it can error, do not mind it for now (you can see working chain logs intail -f ./data/test-1/test-1.log
)./build/neutrond tx tokenfactory mint "100tokenaa" --from demowallet1 --keyring-backend test --home ./data/test-1 --chain-id test-1 --fees 1000untr
The text was updated successfully, but these errors were encountered: