-
Notifications
You must be signed in to change notification settings - Fork 45
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
SLPJS fails to get token UTXOs #27
Comments
This is the address being used by the e2e test: Here is a query from rest.bitcoin.com showing the SLP balance: |
I just tried to use the slp-sdk examples to create and send a new token, and it worked. I can try swapping out the old e2e test token with a new token, to try and fix the e2e test. It's still really curious why this particular token would have issues. |
I'm going to go ahead and close this issue. I still can't explain what was happening with the token. What caused this issue to begin with was that the token in the slp-sdk e2e test was displaying the behavior captured here. I was able to create a new token and move test over to this new token. So whatever this issue is, it's not effecting new tokens. |
Reopening this issue as other people are seeing it.
|
Is this still an issue for you? |
Hey! @christroutner But when on calling send-token , facing this |
Closing, can't reproduce. |
I'm still investigating this issue. This GitHub Issue will be used to track the data as I uncover the root-cause. I've followed the trail to slpjs and suspect the issue I'm seeing is caused by the switch to SLPDB v1.
Overview
The slp-sdk e2e test recently started failing, with the error
Could not find any SLP token UTXOs
. The error is originating from this line in the slp-sdksend()
method of the TokenType1.ts library.That
bitboxNetwork.getTokenInformation(tokenId)
call is returning a query from SLPDB with theslpTokenUtxos
property as an empty object for an address that does have a token UTXO. This is ultimately what is causing the error.getTokenInformation()
method in slpjsI'm not familiar with the slpjs code base. It appears to be calling Bitcore? Then makes a query SLPDB. I can't seem to follow the code at this point.
I suspect that the root cause of this issue is one of two possible sources:
I've updated slp-sdk to use the latest version slpjs (v0.24.3) with no change.
The text was updated successfully, but these errors were encountered: