-
Notifications
You must be signed in to change notification settings - Fork 294
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
feat!: prevent modifications on governance unmodifiable params #2919
Closed
fahimahmedx
wants to merge
21
commits into
celestiaorg:main
from
fahimahmedx:add-governance-unmodifiable-tests
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
958d74f
test: add governance unmodifiable params
fahimahmedx f966d2f
remove invalid param test
fahimahmedx d8758b1
update BlockedParams
fahimahmedx d4ea38b
Revert "remove invalid param test"
fahimahmedx 9c2d8fc
fix TestParamFilter
fahimahmedx 634ab86
Add initial test cases for unmodifiable parameters
fahimahmedx 574392a
test modifying all remaining unmodifiable governance tests
fahimahmedx dbd315a
move location of tests and use app.go in test suite
fahimahmedx 610678d
update commenting
fahimahmedx db5b4fb
update App.BlockedParams()
fahimahmedx c874633
update params.md docs to reference tests
fahimahmedx c8cb845
update paramter modification test in std_sdk_test.go
fahimahmedx 5dd452c
Merge branch 'main' into add-governance-unmodifiable-tests
fahimahmedx 3f964c6
remove commented out test
fahimahmedx f953792
fix params.md links
fahimahmedx 39fede8
Add in test for consensus.block.TimeIotaMs
fahimahmedx 00a5bb4
improve naming in governance params test
fahimahmedx 0ee81b0
fix naming and add comment
fahimahmedx 3738a99
remove unnecessary expErr bool
fahimahmedx f3bc57e
improve readability of TestUnmodifiableParameters
fahimahmedx 5958cb4
change conensus to consensus
fahimahmedx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
[blocking] this is a breaking change so if it is included in this PR then the PR title needs a
!
to conform to conventional commits.IMO we shouldn't add this to the blocked list yet. We should create a GH issue with the list of params that are governance modifiable even though the specs claim they shouldn't be. We should get team alignment on what to do for those params. Then we may update this list or update the specs accordingly. cc: @evan-forbes
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.
yeah any consens breaking change needs a CIP
@fahimahmedx, this is consensus breaking since nodes running this won't change a param, where nodes that are not will change the param
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.
the CIP doesn't have to be super in depth, since the change is pretty small, but we do still need to explain the benefits of adding or removing any params