-
Notifications
You must be signed in to change notification settings - Fork 716
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Bump ICS to include inactive validators (#3263)
* replace gaia/v19 with gaia/v20 * add v20 upgrade handler * update old gaia in upgrade-test * Upgrade ICS version * Change app wiring * Add migration * Fix linting * Revert changes * Upgrade ICS version * Change app wiring * Add migration * Fix linting * Add initialization for LastProviderConsensusValSet * Use CamelCase for const names * fix linter * Remove unnecessary migration and parameter check * Adjust comment to mention LastProviderConsensusValidatorSet initialization * Remove panics and replace with error returns * Improve logging * Lint * feat!: Bump ICS to include inactive validators (#3259) * Upgrade ICS version * Change app wiring * Add migration * Fix linting * Add initialization for LastProviderConsensusValSet * Use CamelCase for const names * Remove unnecessary migration and parameter check * Adjust comment to mention LastProviderConsensusValidatorSet initialization * Remove panics and replace with error returns * Improve logging * Lint * Revert "feat!: Bump ICS to include inactive validators (#3259)" This reverts commit 06f58d3. * add changelog entries * Update app/upgrades/v20/upgrades.go --------- Co-authored-by: mpoke <[email protected]>
- Loading branch information
1 parent
4d8e2a4
commit 107ffbb
Showing
7 changed files
with
154 additions
and
37 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Set the `MaxProviderConsensusValidators` parameter of the provider module to 180. | ||
This parameter will be used to govern the number of validators participating in consensus, | ||
and takes over this role from the `MaxValidators` parameter of the staking module. | ||
([\#3263](https://github.com/cosmos/gaia/pull/3263)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- Set the `MaxValidators` parameter of the staking module to 200, which is the current number of 180 plus 20. | ||
This is done as a result of introducing the inactive-validators feature of Interchain Security, | ||
which entails that the number of validators participating in consensus will be governed by the | ||
`MaxProviderConsensusValidators` parameter in the provider module. | ||
([\#3263](https://github.com/cosmos/gaia/pull/3263)) |
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
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
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