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

Whitenoise generators without EraGen #2747

Merged
merged 3 commits into from Apr 22, 2022
Merged

Whitenoise generators without EraGen #2747

merged 3 commits into from Apr 22, 2022

Conversation

TimSheard
Copy link
Contributor

The module Test.Cardano.Ledger.Shelley.Serialisation.EraIndepGenerators had several white noise Arbitrary instances that had EraGen as preconditions (super classes). It was possible to remove all of these. So now the tests in the consensus layer should not need EraGen instances.

I also point out that a few Babbage specific Arbitrary instances can be found here
src/Test/Cardano/Ledger/Babbage/Serialisation/Generators.hs

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.

beautiful 👏

@nc6
Copy link
Contributor

nc6 commented Apr 22, 2022

Awesome, thanks Tim!

@nc6 nc6 merged commit 31f50cf into master Apr 22, 2022
@iohk-bors iohk-bors bot deleted the ts-whitenoise-noEraGen branch April 22, 2022 07:35
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.

None yet

3 participants