-
Notifications
You must be signed in to change notification settings - Fork 155
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
Get rid of crypto parametrization #4788
Conversation
Opened a draft PR, since now it's a good time to discuss a few things and then we can proceed with cleaning up the commit history, resolving conflicts etc. |
4db5713
to
05ab36c
Compare
libs/cardano-ledger-test/bench/Bench/Cardano/Ledger/EpochBoundary.hs
Outdated
Show resolved
Hide resolved
Marking this ready for review. A few things that still needs to be done:
|
6a283af
to
c0de4cb
Compare
ef07c87
to
008df29
Compare
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.
Review progress tracker:
-
eras
:-
shelley
-
allegra
-
mary
-
alonzo
-
shelley-ma
-
babbage
-
conway
👍
-
-
libs
:-
cardano-ledger-api
-
cardano-ledger-conformance
-
cardano-ledger-core
-
cardano-ledger-test
-
cardano-protocol-tpraos
-
ledger-state
-
e8b1adb
to
d0cb5c5
Compare
2d2d735
to
03a7111
Compare
210f7d6
to
26784d7
Compare
03a7111
to
6876f1b
Compare
libs/cardano-ledger-test/bench/Bench/Cardano/Ledger/EpochBoundary.hs
Outdated
Show resolved
Hide resolved
I've reviewed the whole PR. |
e446454
to
92007c1
Compare
…er on the ledger team
4905a02
to
e7868d1
Compare
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.
Now that #4699 is merged we can proceed with merging this PR.
This was a massive piece of work. Thank you @Lucsanszky and @aniketd for working on this!
5a75b75
to
f35ca52
Compare
We only retain KES and VRF parametrization, which is applicable to block headers. This means that HASH, ADDRHASH and DSIGN were switched from a type family to a type synonym for a concrete algorithm. This allowed us to remove crypto paramterization from all eras and ledger related types. Co-authored-by: Daniel Lucsanszky <daniel.lucsanszky@iohk.io> Co-authored-by: Aniket Deshpande <aniket.deshpande@iohk.io>
This is needed as the postprocess step for recent release
a632238
to
5343fd8
Compare
Since #4788 `Crypto` and `StandardCrypto` only define `KES` and `VRF`, which are primitives unused by ledger. For this reason they are now being moved to `cardano-protocol-tpraos` package
Since #4788 `Crypto` and `StandardCrypto` only define `KES` and `VRF`, which are primitives unused by ledger. For this reason they are now being moved to `cardano-protocol-tpraos` package
Since #4788 `Crypto` and `StandardCrypto` only define `KES` and `VRF`, which are primitives unused by ledger. For this reason they are now being moved to `cardano-protocol-tpraos` package
Since #4788 `Crypto` and `StandardCrypto` only define `KES` and `VRF`, which are primitives unused by ledger. For this reason they are now being moved to `cardano-protocol-tpraos` package
Description
Checklist
CHANGELOG.md
for the affected packages.New section is never added with the code changes. (See RELEASING.md)
.cabal
andCHANGELOG.md
files according to theversioning process.
.cabal
files for all affected packages are updated.If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)