-
Notifications
You must be signed in to change notification settings - Fork 175
Added custom generator to address, enabled some Huddle tests #5505
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
base: master
Are you sure you want to change the base?
Conversation
b07eb66 to
b0ca63b
Compare
216f332 to
19cec52
Compare
f2589a9 to
512a628
Compare
lehins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
I did not realize that we do not have proper decoders implemented for bytes. We need to fix this for Dijkstra: #5513
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
libs/cardano-ledger-core/cddl/Cardano/Ledger/Core/HuddleSpec.hs
Outdated
Show resolved
Hide resolved
512a628 to
9614b6a
Compare
501a2c3 to
8f52c71
Compare
aniketd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! 🙌
lehins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Thank you.
This will probably need to be adjusted when we start using cuddle version that uses QuickCheck's Gen, instead of StatefulGen, but compiler will remind us about it.
|
Needs a manual rebase due to some conflicts not visible in Github UI |
eeaa5ff to
5bd82f5
Compare
5dfe1fd to
828a346
Compare
Description
This PR adds custom generators to
addressandreward_account, which allows us to enable some Huddle roundtrip tests.Checklist
CHANGELOG.mdfiles updated for packages with externally visible changes.NOTE: New section is never added with the code changes. (See RELEASING.md).
.cabalandCHANGELOG.mdfiles when necessary, according to theversioning process.
.cabalfiles updated when necessary.NOTE: If bounds change in a cabal file, that package itself must have a version increase. (See RELEASING.md).
scripts/fourmolize.sh).scripts/cabal-format.sh).scripts/gen-cddl.sh)hie.yamlupdated (usescripts/gen-hie.sh).