-
Notifications
You must be signed in to change notification settings - Fork 157
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
Documented RatifyState
#4759
base: master
Are you sure you want to change the base?
Documented RatifyState
#4759
Conversation
4a38a96
to
29d8427
Compare
eras/conway/impl/src/Cardano/Ledger/Conway/Governance/Internal.hs
Outdated
Show resolved
Hide resolved
122230c
to
1e926d2
Compare
1e926d2
to
3be4f8c
Compare
Co-authored-by: Alexey Kuleshevich <[email protected]>
3be4f8c
to
8b223f0
Compare
, rsDelayed :: !Bool | ||
-- ^ True if all the governance actions will get delayed by one epoch at the |
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 such a small detail, but i found myself confused about it, so I will write a comment and feel free to ignore it!
I believe the following is true: if one of the actions is a delaying one, then all of them will get delayed and this flag is set to True - is this correct?
If it, then I think it would be clearer to say "True when all the governance actions will get get delayed", instead of "if", because with the "if" I read it as: all of them have to be delaying actions in order for the flag to be set to true.
I'm sure it's subjective - I'm more wanting to make sure I understand how it's actually working!
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 to me
Description
This PR adds some Haddock comments to
RatifyState
.resolves #4641
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
)