-
Notifications
You must be signed in to change notification settings - Fork 23
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
Delete TxVotes
and VotingEntry
and use VotingProcedures
instead
#209
Conversation
TxVotes
and use VotingProcedures
insteadTxVotes
and VotingEntry
and use VotingProcedures
instead
d28c9bf
to
0db72f0
Compare
2397806
to
301173e
Compare
d63e139
to
7b5d25e
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.
LGTM! Minor comments
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.
🎉
, txGovernanceActions = fromLedgerProposalProcedure sbe body | ||
, txVotes = fromLedgerTxVotes sbe body | ||
, txGovernanceActions = fromLedgerProposalProcedure sbe body | ||
, txVotingProcedures = fromLedgerVotingProcedures sbe body |
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.
Some strange spacing here
@@ -3430,7 +3427,7 @@ getByronTxBodyContent (Annotated Byron.UnsafeTx{txInputs, txOutputs} _) = | |||
, txMintValue = TxMintNone | |||
, txScriptValidity = TxScriptValidityNone | |||
, txGovernanceActions = TxGovernanceActionsNone | |||
, txVotes = TxVotesNone | |||
, txVotingProcedures = Nothing |
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.
Spacing
$ Just | ||
$ Featured w | ||
$ VotingProcedures | ||
$ body ^. L.votingProceduresTxBodyL) |
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.
🎉
…dano-api Update to `cardano-api-8.19`
Changelog
Context
VotingProcedures
is able to replace bothVotingEntry
andTxVotes
.It is a
newtype
wrapper around the ledger types so creating generators for it is very easy.Checklist
See Running tests for more details
.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7