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

add Plutus V2 scripts to witnesses in CDDL #2799

Merged
merged 1 commit into from
May 19, 2022

Conversation

JaredCorduan
Copy link
Contributor

@JaredCorduan JaredCorduan commented May 18, 2022

Add Plutus V2 script witnesses to the Babbage era CDDL file.

closes #2798

, ? 4: [* plutus_data ]
, ? 5: [* redeemer ]
, ? 6: [* plutus_v2_script ] ; New
}

plutus_script = bytes
Copy link

@ashisherc ashisherc May 18, 2022

Choose a reason for hiding this comment

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

probably this requires a change as well (some automated tools rely on it).

Also, I remember there was a discussion regarding using tagging for plutus script versions, that it could be easier to upgrade in future? was that idea dropped?

Choose a reason for hiding this comment

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

found it, nvm, #2601

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, good catch! Looks like the test caught it too :)

@JaredCorduan JaredCorduan force-pushed the jc/add_plutus_v2_wits_to_cddl branch from 53454e1 to 861604a Compare May 18, 2022 13:34
@JaredCorduan JaredCorduan force-pushed the jc/add_plutus_v2_wits_to_cddl branch from 861604a to 344379c Compare May 18, 2022 16:59
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.

LGTM

@JaredCorduan JaredCorduan merged commit 025f52c into master May 19, 2022
@iohk-bors iohk-bors bot deleted the jc/add_plutus_v2_wits_to_cddl branch May 19, 2022 17:59
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.

Babbage - missing PlutusV2 changes in cddl for witnessing v2 scripts?
3 participants