-
Notifications
You must be signed in to change notification settings - Fork 115
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!: Allow inactive provider chain validators to validate on consumer chains #2079
Commits on Jul 22, 2024
-
refactor!: Refactor the validator set storage and add provider consen…
…sus validator storage (#1990) * Refactor validator set storage * Add comment for getTotalPower * Add provider consensus validator set storage * Add key to key test * Add unit test for LastTotalProviderConsensusPower * Address comments
Configuration menu - View commit details
-
Copy full SHA for b9928d4 - Browse repository at this point
Copy the full SHA b9928d4View commit details -
feat!: Introduce the MaxProviderConsensusValidators param (#1992)
* Refactor validator set storage * Add comment for getTotalPower * Add provider consensus validator set storage * Add new MaxProviderConsensusValidators param * Add validation for MaxProviderConsensusValidators * Add function to get MaxProviderConsensusValidators param * refactor!: Refactor the validator set storage and add provider consensus validator storage (#1990) * Refactor validator set storage * Add comment for getTotalPower * Add provider consensus validator set storage * Add key to key test * Add unit test for LastTotalProviderConsensusPower * Address comments
Configuration menu - View commit details
-
Copy full SHA for b28b139 - Browse repository at this point
Copy the full SHA b28b139View commit details -
feat!: Wire the provider module to return ValidatorUpdates, instead o…
…f the staking module (#1993) * Refactor validator set storage * Add comment for getTotalPower * Add provider consensus validator set storage * Add new MaxProviderConsensusValidators param * Add validation for MaxProviderConsensusValidators * Add no_valupdates_staking module * Add function to get MaxProviderConsensusValidators param * Start returning validators in EndBlock * Fix tests * Revert cosmetic change * Revert cosmetic changes * Revert formatting * Add genutil replacer module * Revert formatting * Revert formatting in tests/integration * Revert minor formatting * Fix type * Change wrapped staking to conform to EndBlocker interface * Fix typo * Revert "Fix typo" This reverts commit 62dfd1e. * Add e2e test for inactive vals * Start fixing e2e test * Revert formatting changes * Remove more formatting * Revert extra formatting * Re-wire provider/app.go to use wrapped modules * Remove consumer rewards check * Add inactive provider vals testcase to nightly * Adjust comment * Address comments * Fix nightly test name * feat: Initialize the max validators parameter for existing consumers (#2012) * Add initialization for validator cap * Remove migration test * Fix inconsistent naming
Configuration menu - View commit details
-
Copy full SHA for e71129e - Browse repository at this point
Copy the full SHA e71129eView commit details -
test: enable the simulator for the provider module (#2005)
* Refactor validator set storage * Add comment for getTotalPower * Add provider consensus validator set storage * Add new MaxProviderConsensusValidators param * Add validation for MaxProviderConsensusValidators * Add no_valupdates_staking module * Add function to get MaxProviderConsensusValidators param * Start returning validators in EndBlock * Fix tests * Revert cosmetic change * Revert cosmetic changes * Revert formatting * Add genutil replacer module * Revert formatting * Revert formatting in tests/integration * Revert minor formatting * Fix type * Change wrapped staking to conform to EndBlocker interface * Fix typo * Revert "Fix typo" This reverts commit 62dfd1e. * Add e2e test for inactive vals * Start fixing e2e test * Revert formatting changes * Remove more formatting * Revert extra formatting * Re-wire provider/app.go to use wrapped modules * Remove consumer rewards check * Add simulator test * Add randomly generated parameters for provider in sim * Add invariant * Add simulation to Makefile and github workflow * Use simcli instead of just passing true
Configuration menu - View commit details
-
Copy full SHA for 9788053 - Browse repository at this point
Copy the full SHA 9788053View commit details -
feat!: Let consumer chains choose a minimum stake and validator rank (#…
…2035) * Add minimum stake key * Add MinValidatorRank prefix * Add keeper and tests for new parameters * Utilize MinStake and MaxRank parameters in computing next validators * Mention MinStake and MaxRank in adr * Add test for FulfillsMinStake * Handle multiple validators with same power * Add min stake and max rank to docs * Add minStake and maxRank to proposals * Check for untyped equality * Handle minStake and maxRank in Msgs * Add integration test for min stake and max rank * Rename test and testfile * Update docs/docs/adrs/adr-017-allowing-inactive-validators.md * Add changelog entries for maxrank and minstake * Address comments * Clarify which feature is disabled by setting maxrank * Test validator powers cap and validator set cap into int param testing function
Configuration menu - View commit details
-
Copy full SHA for 3db7f3d - Browse repository at this point
Copy the full SHA 3db7f3dView commit details -
feat!: Rewire dependencies on the staking module (#2056)
* Change wiring for mint and gov to use ProviderKeeper instead of StakingKeeper * Add test for IterateBondedValidatorsByPower * Rewire GovKeeper * Fix docstrings * Test other modified functions * Start writing some testing scenarios * Add TotalBondedTokens to expected staking keeper interface
Configuration menu - View commit details
-
Copy full SHA for 934550f - Browse repository at this point
Copy the full SHA 934550fView commit details -
feat: Calculate Top N based on active validators only (#2070)
* Add test for inactive vals with top N * Add test case to predefined tests * Fix bonded/active validator distinction * Fix relay test to set max provider consensus vals correctly * feat!: Add a parameter that determines whether consumer chains allow inactive validators to validate them (#2066) * Introduce new AllowInactiveValidators param for consumer chains * Add AllowInactiveValidators param to tests * Set MaxProviderConsensusValidators in tests * Add migration to initialize inactive vals * Add changelog entries for inactive vals param * Add property-based test for inactive vals * Add docs for inactive vals param * Set AllowInactiveVals parameter in e2e test * test: Add e2e tests for inactive vals (#2064) * Start adding e2e test for governance * Debug gov with inactive vals test * Outline for test scenarios where they are tested * Add MaxRank steps * Add e2e tests for min stake and max rank * Revert formatting change * Refactor stepsOptIn * Use adjusted config for e2e tests * Write for more scenarios where they are tested * Add test for mint * Add docstrings for e2e steps
Configuration menu - View commit details
-
Copy full SHA for 1b40c17 - Browse repository at this point
Copy the full SHA 1b40c17View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f4651b - Browse repository at this point
Copy the full SHA 0f4651bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5f155d - Browse repository at this point
Copy the full SHA e5f155dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b97ab26 - Browse repository at this point
Copy the full SHA b97ab26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bfc1df - Browse repository at this point
Copy the full SHA 4bfc1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a67a8a - Browse repository at this point
Copy the full SHA 8a67a8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ceaffc - Browse repository at this point
Copy the full SHA 5ceaffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a859f7a - Browse repository at this point
Copy the full SHA a859f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92904e9 - Browse repository at this point
Copy the full SHA 92904e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ab14ee - Browse repository at this point
Copy the full SHA 9ab14eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8024804 - Browse repository at this point
Copy the full SHA 8024804View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 264b642 - Browse repository at this point
Copy the full SHA 264b642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22bfde8 - Browse repository at this point
Copy the full SHA 22bfde8View commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42c05b2 - Browse repository at this point
Copy the full SHA 42c05b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2f074 - Browse repository at this point
Copy the full SHA ff2f074View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bf261 - Browse repository at this point
Copy the full SHA 60bf261View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fbb134 - Browse repository at this point
Copy the full SHA 7fbb134View commit details -
Configuration menu - View commit details
-
Copy full SHA for da4dd8e - Browse repository at this point
Copy the full SHA da4dd8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4ce5b1 - Browse repository at this point
Copy the full SHA f4ce5b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75bb7a9 - Browse repository at this point
Copy the full SHA 75bb7a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for af528c7 - Browse repository at this point
Copy the full SHA af528c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74b4b94 - Browse repository at this point
Copy the full SHA 74b4b94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9a945 - Browse repository at this point
Copy the full SHA 9b9a945View commit details -
Configuration menu - View commit details
-
Copy full SHA for a73ef5a - Browse repository at this point
Copy the full SHA a73ef5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0726e63 - Browse repository at this point
Copy the full SHA 0726e63View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 837d111 - Browse repository at this point
Copy the full SHA 837d111View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c2b427 - Browse repository at this point
Copy the full SHA 0c2b427View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c06477 - Browse repository at this point
Copy the full SHA 8c06477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4efaa98 - Browse repository at this point
Copy the full SHA 4efaa98View commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a35e39b - Browse repository at this point
Copy the full SHA a35e39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a01439 - Browse repository at this point
Copy the full SHA 4a01439View commit details -
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Configuration menu - View commit details
-
Copy full SHA for fb6d09f - Browse repository at this point
Copy the full SHA fb6d09fView commit details -
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Configuration menu - View commit details
-
Copy full SHA for 5cb6376 - Browse repository at this point
Copy the full SHA 5cb6376View commit details -
Update x/ccv/provider/keeper/genesis.go
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Configuration menu - View commit details
-
Copy full SHA for 1860933 - Browse repository at this point
Copy the full SHA 1860933View commit details -
Configuration menu - View commit details
-
Copy full SHA for 266e9da - Browse repository at this point
Copy the full SHA 266e9daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c96789 - Browse repository at this point
Copy the full SHA 7c96789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24823a6 - Browse repository at this point
Copy the full SHA 24823a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7b1140 - Browse repository at this point
Copy the full SHA a7b1140View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeb2e96 - Browse repository at this point
Copy the full SHA aeb2e96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c70e3b - Browse repository at this point
Copy the full SHA 2c70e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed7e12d - Browse repository at this point
Copy the full SHA ed7e12dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 484cb7d - Browse repository at this point
Copy the full SHA 484cb7dView commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 930a482 - Browse repository at this point
Copy the full SHA 930a482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20345bd - Browse repository at this point
Copy the full SHA 20345bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46dbb4e - Browse repository at this point
Copy the full SHA 46dbb4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b36e6 - Browse repository at this point
Copy the full SHA c3b36e6View commit details -
Update docs/docs/adrs/adr-017-allowing-inactive-validators.md
Co-authored-by: insumity <karolos@informal.systems>
Configuration menu - View commit details
-
Copy full SHA for bf35f2c - Browse repository at this point
Copy the full SHA bf35f2cView commit details -
Clarify: Slash happens on provider
Co-authored-by: insumity <karolos@informal.systems>
Configuration menu - View commit details
-
Copy full SHA for f3b7995 - Browse repository at this point
Copy the full SHA f3b7995View commit details