You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was facing a missing required datum in the UPLC offline evaluator for a datum this IS present inline by value in the corresponding spent UTxO. So I’ve looked for the reason and it seems this error only happens when I use Koios as the provider for the offline evaluator:
Summary
I was facing a
missing required datum
in the UPLC offline evaluator for a datum this IS present inline by value in the corresponding spent UTxO. So I’ve looked for the reason and it seems this error only happens when I use Koios as the provider for the offline evaluator:If I change the provider by blockfrost inside the OfflineEvaluator constructor, then everything works.
So I’ve dig a little in the code, and it seems the faulty function is
fetchUTxOs()
, called inside theevaluateTx()
function ofoffline-evaluator.ts
:Steps to reproduce the bug
Create a Tx spending a utxo with an inline datum, and use the offline evaluator, with Koios configured as a fetcher.
Actual Result
The offline uplc vm says that the inline datum does not exist.
Expected Result
The fetched and decoded utxos should contain the inline datum, so that the offline uplc vm is aware of it.
SDK version
1.9.0-beta.37 with the fix in #608
Environment type
Environment details
No response
The text was updated successfully, but these errors were encountered: