-
Notifications
You must be signed in to change notification settings - Fork 166
Test SPO vote counting #4700
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
Test SPO vote counting #4700
Conversation
2cde68d to
d7e9320
Compare
bf58a41 to
913d87d
Compare
0d7381b to
c5c631d
Compare
aniketd
left a comment
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.
Just a few minor suggestions. LGTM! 👍
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
fe2d6d0 to
b0bc17c
Compare
|
Note to whoever takes this over as I'm off this week: I reinstated the previously removed tests in the last commit. I only adjusted them minimally, so they pass. I think the one with the |
b0bc17c to
55277d8
Compare
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/conway/impl/test/Test/Cardano/Ledger/Conway/SPORatifySpec.hs
Outdated
Show resolved
Hide resolved
4de44d3 to
d8d0f53
Compare
|
Regarding #4727, I dropped the |
lehins
left a comment
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.
👍
Thank you!
d8d0f53 to
76e800a
Compare
* Assert that the default vote is `Abstain` in general
* Assert that `HardForkInitiation` is an exception to the above
and default vote is `No` in this case
* Assert that default vote is `No` in general
* Assert that default vote is `No` for `HardForkInitiation`
and this cannot be overruled by the new default vote customisation
* Assert that the default vote can be customised by delegating
a pool's reward account to:
- An `AlwaysNoConfidence` DRep, in which case the default vote
becomes `Yes` for a `NoConfidence` action
- An `AlwaysAbstain` DRep, in which case the default vote
become `Abstain` in general
76e800a to
214fef4
Compare
Description
Follow-up for #4659
Resolves #4617
Resolves #4727
Checklist
CHANGELOG.mdfor the affected packages.New section is never added with the code changes. (See RELEASING.md)
.cabalandCHANGELOG.mdfiles according to theversioning process.
.cabalfiles 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.yamlhas been updated (usescripts/gen-hie.sh)