-
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
Disallow withdrawals to non-delegated keyhashes post-bootstrap #4555
Conversation
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 good 👍
747e230
to
0a137b2
Compare
0a137b2
to
9030d83
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.
Very good work!
904f448
to
fd0f7e1
Compare
1717908
to
6022dbf
Compare
6022dbf
to
5f132d4
Compare
@@ -134,7 +136,7 @@ data ConwayLedgerPredFailure era | |||
= ConwayUtxowFailure (PredicateFailure (EraRule "UTXOW" era)) | |||
| ConwayCertsFailure (PredicateFailure (EraRule "CERTS" era)) | |||
| ConwayGovFailure (PredicateFailure (EraRule "GOV" era)) | |||
| ConwayWdrlNotDelegatedToDRep (Set (Credential 'Staking (EraCrypto era))) | |||
| ConwayWdrlNotDelegatedToDRep (NonEmpty (Credential 'Staking (EraCrypto 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.
@teodanciu You didn't apply my suggestion of changing this to
-ConwayWdrlNotDelegatedToDRep (NonEmpty (Credential 'Staking (EraCrypto era)))
+ConwayWdrlNotDelegatedToDRep (NonEmpty (KeyHash 'Staking (EraCrypto era)))
Do you mind submitting a PR with this fix?
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.
Original suggestion: #4555 (comment)
Description
Resolves #4092
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
)