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

Functionality for Alonzo scripts, and fixed Fast forward problem. #2087

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

TimSheard
Copy link
Contributor

Added operations on Scripts and TxBody in Aonzo. Mostly Figure 5 and 6
Also fixed the fast forward problem of merging the pretty printer on
top of the change of TxBody to a type family.

Added operations on Scripts and TxBody in Aonzo. Mostly Figure 5 and 6
Also fixed the fast forward problem of merging the pretty printer on
top of the change of TxBody to a type family.
data ScriptPurpose crypto
= Minting !(PolicyID crypto)
| Spending !(TxIn crypto)
| Rewarding !(RewardAcnt crypto) -- Not sure if this is the right type.
Copy link
Contributor

Choose a reason for hiding this comment

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

that is the correct type

Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

It looks mostly great! We should keep the names the same between the spec and the code, though. Such as InputTag vs Spend in Tag. But since this PR fixes the problems in master (due to the non-fast-forward merge), I'm happy to get this in sooner rather than later, and change the names next.

@JaredCorduan JaredCorduan merged commit 04ac97b into master Jan 7, 2021
@iohk-bors iohk-bors bot deleted the ts-alonzo-more-scripts branch January 7, 2021 19:32
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