Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not try to look up a UTxO datum in processConstraints when spending #1632

Open
klntsky opened this issue Jul 11, 2024 · 0 comments
Open
Assignees

Comments

@klntsky
Copy link
Member

klntsky commented Jul 11, 2024

liftAff $ queryHandle.getDatumByHash dHash <#> hush

We don't really need to try to do this automatically, because that way we introduce implicit, non-obvious for the user dependency on the blockchain state. If the datum isn't provided for a datum hash in an output, we should just fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants