Hi there, I am encountering some strange behaviour with PQS. I use submitAndWaitForTransactionTree
to create a contract and get the ledger offset from the response. I then find the contract that I just created using the active()
function provided by PQS. The offset available in the result of active()
appears to be greater than the offset returned by the ledger API. I am testing this on Daml sandbox.
After doing some more investigation, it seems that this issue only occurs if I run the query immediately after scribe has started (and the health check returns OK). If I add a delay of a few seconds and then run the command and the query, it works as expected