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

validate tx in evaluateTransactionExecutionUnits #2522

Merged

Conversation

JaredCorduan
Copy link
Contributor

This adds one sanity check for the transaction given to the helper function evaluateTransactionExecutionUnits, with the possibility of adding more later.

In particular, evaluateTransactionExecutionUnits currently only checks for inclusion in the UTxO on those transaction inputs that are pointed at by some redeemer pointer in the transaction. This has the unfortunate side effect of having txinfo silently drop transaction inputs that are not legitimate when passing information to plutus.

This add one sanity check for the tx given to
evaluateTransactionExecutionUnits, with the possibility of adding more
later.
@JaredCorduan JaredCorduan merged commit adad8cd into master Nov 1, 2021
@iohk-bors iohk-bors bot deleted the jc/evaluateTransactionExecutionUnits-check-inputs branch November 1, 2021 14:12
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

Successfully merging this pull request may close these issues.

2 participants