Skip to content
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

Further proposals improvements. Take 2 #4031

Merged
merged 6 commits into from
Feb 1, 2024

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Jan 31, 2024

Description

This is a follow up to: #4025

One important place where invariant was not verified was when enacted proposals are being removed. With adding the check there we no longer need to bother adding any other checks, as long as other internal functions are not being used for modifying the Proposals

Other changes are minor cleanups and performance improvements

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .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)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@lehins lehins requested a review from aniketd January 31, 2024 21:45
@lehins lehins force-pushed the lehins/further-proposals-improvements branch from f214b6b to d1560ae Compare January 31, 2024 22:06
Copy link
Contributor

@aniketd aniketd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 🙌 💯

@lehins lehins force-pushed the lehins/further-proposals-improvements branch from d1560ae to aa43b80 Compare February 1, 2024 08:54
…nts`

* Emphasize in the name that not only descendants will be removed, but
  also the govActionIds supplied as arguments
* Marked is for testing only, since it is not suitable for deleting
  roots
* Fixed the spelling: descendant is someone who descended from an anscentor
@lehins lehins force-pushed the lehins/further-proposals-improvements branch from aa43b80 to 30f7c7e Compare February 1, 2024 09:00
@lehins lehins enabled auto-merge February 1, 2024 09:02
@lehins lehins merged commit 5f6ebc2 into master Feb 1, 2024
9 of 23 checks passed
@neilmayhew neilmayhew deleted the lehins/further-proposals-improvements branch March 8, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants