-
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 create_tx with PoBtoken decks testing #150
Comments
The Anyway the logic of these commands is identic, the only problem is that it created confusion. So I looked if there was a bug triggered by your commands and how your problems with labels could be explained. But I wasn't able to produce an unexpected output when creating txes and claiming the tokens you wrote about here. I created exactly the same transaction (with Possibly the bug was already fixed with one of the last updates, as I have already worked with the PS: I've got indeed some unexpected results when working with token "conflicting4" (on my side it's initialized):
I will leave this open thus and look deeper into it. |
Did you mean |
Oh, my fault. It's actually correctly shown with The other problem however remains. I made some more tests and the culprit seems to be again the unreliable Will do some more tests with a fresh wallet later. It's possible we will need an |
After I've re-checked the #151 and replied there I've also checked the "missing" transaction from this thread.
I'd say the "missing" transaction from this thread ( Since the original burn transactions (
|
Yes, as written in #151 the issue was probably related to me (and you before) having forgot rescanning after initializing the new deck. The number of decimals issue was almost for sure not related, because it was only affecting the interface of the claim process. As soon as the claim transaction is created, always an integer value of tokens will be credited (e.g. if you have a token with 2 decimals and try to claim 1.235, 123 token units will be created but later they will be shown as 1.23). Issue can be closed, I think. |
I've tested
pobtoken create_tx
for all initialized PoB decks I have and one not initialized.I've run
pobtoken create_tx fb93cce7aceb9f7fda228bc0c0c2eca8c56c09c1d846a04bd6a59cae2a895974 1
, producedaebca94448d05baab622feb6f2b4a59841b5ba863fee6b906218193e3c988f9a
transaction, claimed it withpobtoken claim fb93cce7aceb9f7fda228bc0c0c2eca8c56c09c1d846a04bd6a59cae2a895974 aebca94448d05baab622feb6f2b4a59841b5ba863fee6b906218193e3c988f9a
(transaction88e134cc04dc08f426a0b72ebc5e2f9277435c51c900491a700d57703e84e93f
) and my address for the standard PoB token deck has been increased by 100.I've run
pobtoken create_tx ATTokenNewSpec2 1.34
and after the yes/no dialog I've gotError: No valid address string or non-existing label in the extended configuration file.
Then I've run
pobtoken create_tx 95b24015ffb46d82015b709d774542fc4a53ccf27f72d973ed3fb18c384a80ca 1
andpobtoken claim 95b24015ffb46d82015b709d774542fc4a53ccf27f72d973ed3fb18c384a80ca 8be48f92244dbe49fd2bee66878c93622d98f6448fd2fb4010b7c74dbe6cca04
and mytoken balances -t 95b24015ffb46d82015b709d774542fc4a53ccf27f72d973ed3fb18c384a80ca
output was{'n3MtPoPaAREU5GEhAErBPuju83bVog2opz': 1.0}
.Then I've run
pobtoken create_tx a843d6bec0da495ea0cc03fcd36942598ba9f786547a800721c0e78b99c0adca 1
, for the testEne24 token which is not initialized on my side and when I've runpobtoken claim a843d6bec0da495ea0cc03fcd36942598ba9f786547a800721c0e78b99c0adca 19346a211d38a43366b40334cf63f76a34a136579ed8750878acbc1f365d8a35
I've gotError: Deck not initialized. Initialize it with 'pacli deck init DECK'
.Then I've run
pobtoken create_tx conflicting4 1.234
andpobtoken claim conflicting4 d8d9c1253fd7e68a9f7b66c48e0a7de45b6469e2a4f93af803d40d9db0c5845c
and have produced the claim transaction8c4d82de8205b8b53d1343ff6bac91a843c652f201fa9d4fb2ccea217045437f
however mytoken balances -t ac0f950a8fd4a8ee8d710a2463ee3c42e3f8a8fc7779e43e63810d12117d7be4
output was{'n3MtPoPaAREU5GEhAErBPuju83bVog2opz': 0}
, then I've tried to claim the same burn transaction withpobtoken claim ac0f950a8fd4a8ee8d710a2463ee3c42e3f8a8fc7779e43e63810d12117d7be4 d8d9c1253fd7e68a9f7b66c48e0a7de45b6469e2a4f93af803d40d9db0c5845c
command (transaction48ba90a7b9c9da6f896fe30d13517da2b8c08c4176566a53f1ddd051838bfc59
, but theconflicting4
deck balance has remained zero.Then I've run
pobtoken create_tx ac0f950a8fd4a8ee8d710a2463ee3c42e3f8a8fc7779e43e63810d12117d7be4 1.34
andpobtoken claim ac0f950a8fd4a8ee8d710a2463ee3c42e3f8a8fc7779e43e63810d12117d7be4 57d9d21e15cc3a624c532ccda2375fe7ae8985d6af6eb642b4d4f4d1534531e7
(for theconflicting4
deck) and this time mytoken balances -t ac0f950a8fd4a8ee8d710a2463ee3c42e3f8a8fc7779e43e63810d12117d7be4
was{'n3MtPoPaAREU5GEhAErBPuju83bVog2opz': 1.34}
So it seems like the
pobtoken create_tx
command doesn't consider the labels in the right way.The text was updated successfully, but these errors were encountered: