revert: Revert "feat: staking config (#10988)" (#11446)

* Revert "feat: staking config (#10988)"

This reverts commit 5e9656f363.

* remove docs
This commit is contained in:
Marko
2022-03-24 12:26:25 +01:00
committed by GitHub
parent d7ba5d2d9c
commit 66ca3e88aa
46 changed files with 139 additions and 190 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ func (m *Manager) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, genesisData
// a chain must initialize with a non-empty validator set
if len(validatorUpdates) == 0 {
panic(fmt.Sprintf("validator set is empty after InitGenesis, please ensure at least one validator is initialized with a delegation greater than or equal to the DefaultPowerReduction, found in x/staking/types/config.go"))
panic(fmt.Sprintf("validator set is empty after InitGenesis, please ensure at least one validator is initialized with a delegation greater than or equal to the DefaultPowerReduction (%d)", sdk.DefaultPowerReduction))
}
return abci.ResponseInitChain{