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

Shelley rules cleanup #4159

Merged
merged 5 commits into from
Mar 9, 2024
Merged

Shelley rules cleanup #4159

merged 5 commits into from
Mar 9, 2024

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Mar 4, 2024

Description

Collection of improvements to Shelley rules. This work is done as part of preparation to implementing #4006

Probably easier to review commit by commit

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 force-pushed the lehins/shelley-rules-cleanup branch 2 times, most recently from 4f048f2 to e6fd30f Compare March 7, 2024 01:00
@lehins lehins marked this pull request as ready for review March 7, 2024 01:01
@lehins lehins force-pushed the lehins/shelley-rules-cleanup branch 2 times, most recently from addb166 to e108e7e Compare March 7, 2024 16:16
@lehins lehins requested a review from teodanciu March 7, 2024 16:16
Copy link
Contributor

@teodanciu teodanciu left a 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, just a few questions.

@lehins lehins force-pushed the lehins/shelley-rules-cleanup branch 3 times, most recently from 817f874 to 7c3d79e Compare March 8, 2024 12:56
* Stop running `hasLegalProtVerUpdate` check on the current PParams when
submitted update contains invalid values
* Change `NewppEnv` to accept `CertState`
  * `proposals` to `sgsCurProposals`
  * `futureProposals` to `sgsFutureProposals`
  * `sgovPp` to `sgsCurPParams`
  * `sgovPrevPp` to `sgsPrevPParams`
@teodanciu teodanciu force-pushed the lehins/shelley-rules-cleanup branch from 7c3d79e to a219917 Compare March 8, 2024 15:33
@lehins lehins merged commit ad98cb6 into master Mar 9, 2024
14 of 16 checks passed
@neilmayhew neilmayhew deleted the lehins/shelley-rules-cleanup branch March 28, 2024 02:21
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