-
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
Replace WithdrawalsSupportedInEra with ShelleyBasedEra #260
Replace WithdrawalsSupportedInEra with ShelleyBasedEra #260
Conversation
93c91ca
to
d0b0540
Compare
let withdrawals = body ^. L.withdrawalsTxBodyL in | ||
if null (L.unWithdrawals withdrawals) | ||
then TxWithdrawalsNone | ||
else TxWithdrawals sbe $ fromShelleyWithdrawal withdrawals |
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.
Simplified with shelleyBasedEraConstraints
.
d0b0540
to
e251c83
Compare
e251c83
to
c4fc635
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.
🚀
BuildTxWith build (Witness WitCtxStake era))] | ||
-> TxWithdrawals build era | ||
TxWithdrawals | ||
:: ShelleyBasedEra 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.
👍
…d-for-treasurywithdrawalcmd Change `TreasuryWithdrawalCmd` to a record
Changelog
Context
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