-
Couldn't load subscription status.
- Fork 25
Deprecate "old" certificate api helper functions #983
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
8a5595f to
6519563
Compare
6519563 to
81b7a98
Compare
71a4ef9 to
b968b7b
Compare
d261519 to
a73bd18
Compare
- Cardano.Api.Experimental.Tx.Internal.Certificate.Compatible - Cardano.Api.Experimental.Certificate Introduce Delegatee type family to capture the era dependent nature of delegatees (stake pool delegation vs vote delegation etc)
a73bd18 to
2d0f85b
Compare
afaa27a to
44a52ba
Compare
44a52ba to
44a720e
Compare
| , L.EraTxOut (LedgerEra era) | ||
| , L.EraUTxO (LedgerEra era) | ||
| , FromCBOR (ChainDepState (ConsensusProtocol era)) | ||
| , FromCBOR (L.TxCert (LedgerEra era)) |
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.
Is this required? EraTxCert era already provides FromCBOR (TxCert era)
| ( Typeable ledgerera | ||
| , L.Era ledgerera | ||
| , FromCBOR (L.TxCert ledgerera) | ||
| , L.EraTxCert ledgerera |
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.
Those four constraints feel redundant here, because:
- they're provided by
EraandEraTxCertledger constraints https://cardano-ledger.cardano.intersectmbo.org/cardano-ledger-shelley/Cardano-Ledger-Shelley-TxCert.html#t:TxCert Certificatealready providesEraTxCert- They're not really necessary for the implementation of
HasTextEnvelope
| ( Typeable ledgerera | ||
| , L.Era ledgerera | ||
| , FromCBOR (L.TxCert ledgerera) |
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.
Same thing, those three constraints feel redundant here, because they're provided by EraTxCert ledger constraints https://cardano-ledger.cardano.intersectmbo.org/cardano-ledger-shelley/Cardano-Ledger-Shelley-TxCert.html#t:TxCert
945ec57 to
f6ab5fd
Compare
f6ab5fd to
61e76fa
Compare
Changelog
Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist