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

at PV 7 make MissingScriptWitnessesUTXOW clearer #2527

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

JaredCorduan
Copy link
Contributor

@JaredCorduan JaredCorduan commented Oct 21, 2021

The MissingScriptWitnessesUTXOW failure is confusing, it reports an empty set in the case of extraneous scripts. Starting at major protocol version 7, we use a new failure, ExtraneousScriptWitnessesUTXOW for the other side of the symmetric difference.

@JaredCorduan JaredCorduan requested review from lehins and nc6 October 21, 2021 13:42
Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions, but as far as correctness is concerned it is good to go as is.

The MissingScriptWitnessesUTXOW failure is confusing, it reports an
empty set in the case of unnecessary scripts.
Starting at major protocol version 7, we use a new failure,
UnnecessaryScriptWitnessesUTXOW in this case.
@JaredCorduan JaredCorduan force-pushed the jc/missing-scripts-symmetric-difference branch from 6424657 to 284e679 Compare October 21, 2021 17:34
Co-authored-by: Alexey Kuleshevich <alexey.kuleshevich@iohk.io>
@JaredCorduan JaredCorduan merged commit c89b8d1 into master Oct 22, 2021
@iohk-bors iohk-bors bot deleted the jc/missing-scripts-symmetric-difference branch October 22, 2021 15:26
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