-
Notifications
You must be signed in to change notification settings - Fork 156
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
Predicate failure for mismatched Voter GovAction #3718
Predicate failure for mismatched Voter GovAction #3718
Conversation
If you want, you could squash the first 3 commits, to have a cleaner commit history, since they are a meaningful unit together |
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.
Implementation looks right, but it can be improved.
c342166
to
565e8ef
Compare
e55a48b
to
1fa37e0
Compare
Could you please rebase on master? |
1fa37e0
to
8188a7d
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.
We'll discuss this PR in more detail tomorrow
eras/conway/impl/src/Cardano/Ledger/Conway/Governance/Snapshots.hs
Outdated
Show resolved
Hide resolved
87f6b36
to
b7e1f4f
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.
👍
a5837d6
to
00461b7
Compare
- Fix naming in `toPrevGovActionIds{Paris}` to `Pairs` - Add new inhabitant to `ConwayGovPredFailure`: - `DisallowedVoters (Map (GovActionId c) (Voter c))` In `ConwayGOV`, we make sure to introduce new data-structures and references most minimally, by reusing the required ones between `noSuchGovActions` and `checkVotesAreValid` tests. This is achieved by first preparing a `govActionIdVotes`. @lehins is the wizard behind conjuring these important optimizations. The `NewConstitution` proposal test in `ConwayFeatures` needed to be reduced to only using votes from DReps, i.e. votes from SPOs have been removed as they were incorrect to begin with. Co-authored-by: Alexey Kuleshevich <lehins@yandex.ru>
00461b7
to
e73c242
Compare
Description
Closes #3685
Checklist
.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)CHANGELOG.md
for the affected packages. New section is never added with the code changes. (See RELEASING.md)fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)