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

Generalized the generic unit tests in TwoPhaseValidation.hs #2674

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

TimSheard
Copy link
Contributor

The tests now work in both Alonzo and Babbage eras. Fixed some errors in Updaters.hs
This constitutes a good base of unit tests for the Babbage Rules. They do not do Babbage specific things.

@TimSheard TimSheard requested review from JaredCorduan and lehins March 1, 2022 22:57
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.

There are a few minor questions and changes suggested in this review. I'd like to ask @JaredCorduan to review this PR as well, some of the changes are introduced to places of the codebase that I am not very familiar with.

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.

@TimSheard this PR looks great. The only thing we still need to clean up here is the fact that missingRequiredDatums isn't quite correct for Babbage (see my comment above).

in both Alonzo and Babbage eras. Fixed some errors in Updaters.hs
Added txOutView to UsesTxOut.
@TimSheard TimSheard force-pushed the ts-babbage-unittests branch from b66deda to f7845d8 Compare March 3, 2022 22:07
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.

looks great @TimSheard ! thank you!

@JaredCorduan JaredCorduan merged commit c9512ec into master Mar 4, 2022
@iohk-bors iohk-bors bot deleted the ts-babbage-unittests branch March 4, 2022 16: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.

3 participants