-
Notifications
You must be signed in to change notification settings - Fork 0
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
pobtoken burn_coins with -i flag #142
Comments
AT decks are used with The problem in your case was probably however that you used the global name for tokens and this was not supported at this time. You had to use a local name or the deck ID. I have confirmed this with the 'dICO test' token; if I use its deck ID dbefb8c9fcb4ed2bb2722abb177188b9e7d8cde55e4163fff9c5e5ca374706e1 it works. I have added the global name function in commit df3d2d7. It works now with I don't think it's worth the time adding a test "is this a PoB token or not" to the command making it slower. The Can be closed if everything works. |
Maybe I'm wrong, but it seems like this command already makes this test for the PoD tokens. In fact as mentioned in the beginning of my previous post if I run
If so maybe it may make sense changing the output into |
There are two tokens with the name ATTokenNewSpec: be86176f07821b0ec9c2a531404e56fbaa371581c9625f16fe5ab3f55a3614a1 and 7a2ae406ddf44ddb17532d4888fdc14573f52749445e9e014075c9f83cbe556f. I think I did this (i.e. using the same name of an existing token) to test this case on purpose. be86... has priority because it was created first. But the reason you get the error is that this (despite of the name) was an old AT token with a format not longer valid, it is not recognized anymore as an AT or PoB token. This is also the reason why local labels have priority over global names. Please use local labels or deck IDs when testing to avoid these confusions with non-unique global names. "wrong type of deck" is ok for the message, I'll change it to that. Please close if everything's alright :) |
Thank you for explanation. (I should've carefully read the output). |
I've tested
pobtoken burn_coins 1 -i a2459e054ce0f600c90be458915af6bad36a6863a0ce0e33ab76086b514f765a
using the PoD deck, DTNewSpecv2, and got the error message:So I've asked myself whether the AT deck's can be used with the
pobtoken burn_coins
command and launchedpobtoken burn_coins 1 -i ATTokenNewSpec1
command using my local label of the deck 7a2ae406ddf44ddb17532d4888fdc14573f52749445e9e014075c9f83cbe556fThe transaction (9870a09670a4f46a7ad8bf98a2273209185198d85d4c0eaac08c965292435389) has been created without any issue.
Then I've tried
pobtoken burn_coins 1 -i 'dICO test'
,pobtoken burn_coins 1 -i "dICO test"
,pobtoken burn_coins 1 -i dICO test
and evenpobtoken burn_coins 1 -i ATTokenNewSpec
but was not able to send any coin because I've been receiving the following warning:It looks like the command is perceiving the global name as a gateway address.
If I confirm by typing "yes" I'm receiving the following message:
Since I was a bit surprised that the ATtoken decks can be used with the
pobtoken burn_coins
command I've also testedpobtoken burn_coins 1 -i f7b1af6d565898851878cb13c88bb52996a0a5380c4ea8803c248a69c7d00d82
where the f7b1af6d565898851878cb13c88bb52996a0a5380c4ea8803c248a69c7d00d82 deck has the global name ATTokenNotPoB so there would be some contradiction in being able to use this deck with the pobtoken command, but unfortunately for my inquiry I've got the following error message:So I don't know whether it's expected that the ATToken decks can be used with the pobtoken command or not.
In my understanding the attoken is a wider concept than the pobtoken which includes the pobtoken concept, so the pobtoken decks should be used with the attoken commands but not viceversa.
Would be interesting to have your feedback about.
The text was updated successfully, but these errors were encountered: