-
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
Committee expiration, validation and modification #3721
Conversation
06c8a70
to
4d60277
Compare
eras/conway/impl/src/Cardano/Ledger/Conway/Governance/Procedures.hs
Outdated
Show resolved
Hide resolved
4d60277
to
c9dcde8
Compare
c9dcde8
to
37821e6
Compare
c494097
to
8c0c108
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.
This is a very nice piece of work. Some fixes are needed, but overall looks great.
Also needs a rebase on master.
8c0c108
to
9fb8c08
Compare
Long story short, I think we should only do this check if we keep track of in-flight GAs & validate new ones against the current state and the ones in the queue. |
@WhatisRT Yes, I brought up the same point here: #3721 (comment) One more reason in favor of #3655 |
e996cfd
to
a3b1664
Compare
instead of 'replace'
so that we check against the relevant version of the current committe
otherwise fail with a new PredicateFailure
otherwise fail with a new predicate failure
The udpated state is set both in vState and the govSnapshots of the returned Epoch state
relative to the `committeeTermLimitL` pparam.
a3b1664
to
b323048
Compare
@lehins I think the latest covers the items that came up after the meeting yesterday, if you would like to take another look.
|
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.
Beautiful! 👍
Description
Closes #3443
NewCommittee
action failing if :NewCommittee
toUpdateCommittee
and change its semantics to "update committee", rather than "replace committee". This means: in Enact rule: adding and removing members correctly, and in Gov rule: checking correctly the minimum committee size, considering the current committee.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
)