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
What operating system are you using, and which version?
macOS
Windows
Describe what the problem is?
When conducting evaluation of a simple transaction with 2 inputs:
One input from a pub key address, without providing the utxos: &[ResolvedInput] information
One script input with input information providing thru utxos: &[ResolvedInput]
It would return error: msg: "Error occurred during evaluation: Redeemer (Spend, 1): Resolved Input not found.". It is misleading for dev to seek for error in providing utxos for the second input (script input), but the issue actually comes from missing first input (the pub key input)
What should be the expected behavior?
Should return correct error message, indicating it is the pub key input missing (for example, without saying it is the Redeemer (Spend) issue, since it naturally route dev to look at the script input provided.
It may sounds trivial, but spent me 2 hours to figure it out, hope fixing this issue can save other devs unnecessary debugging time!
The text was updated successfully, but these errors were encountered:
HinsonSIDAN
changed the title
Misleading error message returned by eval_phase_two
uplc - misleading error message returned by eval_phase_twoJul 11, 2024
What Git revision are you using?
git version 2.39.3 (Apple Git-146)
What operating system are you using, and which version?
Describe what the problem is?
When conducting evaluation of a simple transaction with 2 inputs:
utxos: &[ResolvedInput]
informationutxos: &[ResolvedInput]
It would return error:
msg: "Error occurred during evaluation: Redeemer (Spend, 1): Resolved Input not found."
. It is misleading for dev to seek for error in providing utxos for the second input (script input), but the issue actually comes from missing first input (the pub key input)What should be the expected behavior?
Should return correct error message, indicating it is the pub key input missing (for example, without saying it is the
Redeemer (Spend)
issue, since it naturally route dev to look at the script input provided.It may sounds trivial, but spent me 2 hours to figure it out, hope fixing this issue can save other devs unnecessary debugging time!
The text was updated successfully, but these errors were encountered: