-
Notifications
You must be signed in to change notification settings - Fork 212
utxosAt just hangs using pab-cli on the testnet #347
Comments
I saw it mentioned in a comment here that the chain index is slow and |
Indeed it's not effective at the moment. There is #319 that should improve the speed of chain index. |
Not sure how easy it is with your current setup, but can you try removing the |
So just an update for this. I'm on latest master for everything. I have cardano-node, cardano-wallet and plutus-chain-index running independently on ports, and the plutus-pab.yaml is configured with those ports, the chain index is fully synced, but utxosAt does not return. There doesn't seem to be any reference to the endpoint "/utxo-at-address" anywhere in the code except for the tests. So is the PAB interpreter even calling this? Edit: I can call utxo-at-address just fine with the API using curl, now I will try what @kk-hainq suggested and pass that in through the endpoint. |
I just realised I can't really hardcode it because I need something to pass into the lookups. |
I think I have the same issue. Running PAB in verbose the final line before "hanging" is
If I query the chain-index directly with what I guess
The chain index also logs the request from the curl command, while I see nothing when I expect the PAB to hit it. PS chain index swagger says PPS I was gonna try to follow @kk-hainq suggestion of shoe horning the utxo data in by other means, but I thought I'd first try bumping my dependencies. This did not go well, but my issues are no longer as above so I just wanted to point that out before it took up too much of anyone elses attention. The PAB now says Plutus-apps commit |
Apologies for spamming the thread. A further update. Piping the requests through a
This is running Lars's PPP#3L6 mint. |
My version of the chain index has /unspent-tx-out, but it doesn't work. Perhaps this is related. #377 |
When chain-index is syncing, the querying is blocked until the next set of blocks are processed (because of a blocking MVar). The following PR will probably solve it #386 . |
@locallycompact Can you try again? Should be solved in |
Oh yes I did get this working. Thanks! |
Summary
Hi, I'm using an NFT contract through the PAB.
https://gitlab.homotopic.tech/plutus/contracts/nft/-/blob/master/src/Plutus/Contracts/NFT.hs
Pasted here:
The output that I get from calling the "mint" endpoint through the pab-cli using the wallet backend is as follows:
There is no additional information the testnet output from pab-cli that indicates an error. So, it seems like it gets as far as the
utxosAt
call and then just stops doing anything.Steps to reproduce the behavior
The PAB I'm using is here: https://gitlab.homotopic.tech/plutus/apps/multi-pab with the above contract as a package dependency.
nix run.
Actual Result
No log
Expected Result
Some log
Describe the approach you would take to fix this
No response
System info
NixOS
The text was updated successfully, but these errors were encountered: