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

Imptests: ParameterChange affects ratification for in-flight proposals #4238

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

aniketd
Copy link
Contributor

@aniketd aniketd commented Apr 4, 2024

Description

Resolves #4132

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

@aniketd aniketd force-pushed the aniketd/parameterchange-affects-proposals branch 2 times, most recently from 9c29358 to 95252b7 Compare April 5, 2024 13:04
@aniketd aniketd requested a review from Soupstraw April 5, 2024 13:06
Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

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

LGTM

@aniketd aniketd force-pushed the aniketd/parameterchange-affects-proposals branch from 95252b7 to ae45509 Compare April 6, 2024 13:29
Copy link
Contributor

@Soupstraw Soupstraw left a comment

Choose a reason for hiding this comment

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

LGTM

For DReps and SPOs:
1. Increasing a threshold prevents in-flight proposals that had enough
stake in favour before, to fail ratification.
2. Decreasing a threshold ratifies in-flight proposals that didnt have
enough stake before.
@aniketd aniketd force-pushed the aniketd/parameterchange-affects-proposals branch from ae45509 to d4d1da6 Compare April 8, 2024 12:33
@aniketd aniketd enabled auto-merge (squash) April 8, 2024 12:33
@aniketd aniketd merged commit 65122e4 into master Apr 8, 2024
30 of 32 checks passed
@aniketd aniketd deleted the aniketd/parameterchange-affects-proposals branch April 8, 2024 16:36
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.

Imp test that ParameterChange affects proposals that follow
3 participants