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

attoken spawn with the fractional number of decimals 8-\ #171

Closed
buhtignew opened this issue Aug 2, 2024 · 1 comment
Closed

attoken spawn with the fractional number of decimals 8-\ #171

buhtignew opened this issue Aug 2, 2024 · 1 comment
Labels
info Just to share some info

Comments

@buhtignew
Copy link
Collaborator

While I was inquiring why is it that I thought to have received a different message in case of attoken spawn and pobtoken spawn commands if used with the fractional multiplier I've discovered to have used the fractional number of decimals instead, so I've basically run attoken spawn with the -n instead of the -m flag (the exact command was attoken spawn test_att1 myHPHhnncUaiFQGqN1FK2qFtwcfPE4Bkqc -n 1.3).
The message I've got was:

      General error raised by PeerAssets. Check if your input is correct.

        If you gave a deck as an argument, a possible reason for this error is that you need to initialize the deck.

        To initialize the default decks, use:

        pacli deck init

        To initialize a single deck, use:

        pacli deck init DECKID

The fractional number of decimals doesn't make any sense of course, so I'm not sure we should consider doing anything about at this case.

@buhtignew buhtignew added the info Just to share some info label Aug 2, 2024
@d5000
Copy link

d5000 commented Aug 5, 2024

I think we can leave this as it is. "your input may not be correct" is what the user then sees, and that's correct in this case.

I'm trying to fine-tune the error message a bit, so the part about decks is shown mainly when really the uninitialized deck is the problem.

I think this can be closed thus.

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

No branches or pull requests

2 participants