PAB Simulator "forgets" utxos after an extended amount of time
vlasin opened this issue · comments
Vladimir Sinyakov commented
Summary
I ran my PAB Simulator for 15+ minutes and noticed that the simulated chain index utxo query at my script address returns empty even though there are utxos at that address.
Steps to reproduce the behavior
- Start the PAB Simulator with default config.
- Pay to some script.
- Leave the PAB Simulator running for at least 15-20 minutes (maybe machine-dependent, not sure).
- Run the smart contract that logs utxos at the script address:
utxo <- utxosTxOutTxAt myScriptAddress
logInfo @string $ show utxo
Actual Result
The query above returns an empty Map while 'Plutus.PAB.Simulator.currentBalances' returns the correct amount at the script address.
Expected Result
The query should return the utxo with the payment to 'myScriptAddress'.
Describe the approach you would take to fix this
No response
System info
Ubuntu 20.04, plutus-apps commit eba0a57 (December 16).
Radu Ometita commented
Can you please retest with the current master?
Vladimir Sinyakov commented
Retested with the current master. Yep, it is working as expected now. Thanks! I am closing the issue.