Skip to content

Commit

Permalink
chore: fix spelling errors (#1939)
Browse files Browse the repository at this point in the history
chore: spelling errors fixes

Co-authored-by: github-merge-queue <[email protected]>
  • Loading branch information
github-prbot and github-merge-queue[bot] authored Jun 5, 2024
1 parent bbe1c54 commit 035377e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/adrs/adr-017-allowing-inactive-validators.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ set of consumer chains.

To mitigate risks from validators with little stake, we introduce a minimum stake requirement for validators to be able to validate on consumer chains, which can be set by each consumer chain independently, with a default value set by the provider chain.

Additionally, we indepdently allow individual consumer chains to disable this feature, which will disallow validators from outside the provider active set from validating on the consumer chain and revert them to the previous behaviour of only considering validators of the provider that are part of the active consensus validator set.
Additionally, we independently allow individual consumer chains to disable this feature, which will disallow validators from outside the provider active set from validating on the consumer chain and revert them to the previous behaviour of only considering validators of the provider that are part of the active consensus validator set.

Additional risk mitigations are to increase the active set size slowly, and to monitor the effects on the network closely. For the first iteration, we propose to increase the active set size to 200 validators (while keeping the consensus validators to 180), thus letting the 20 validators with the most stake outside of the active set validate on consumer chains.

Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (k Keeper) HandleConsumerRemovalProposal(ctx sdk.Context, p *types.Consumer
// HandleConsumerModificationProposal modifies a running consumer chain
func (k Keeper) HandleConsumerModificationProposal(ctx sdk.Context, p *types.ConsumerModificationProposal) error {
if _, found := k.GetConsumerClientId(ctx, p.ChainId); !found {
return fmt.Errorf("consumer chain (%s) is not runnig", p.ChainId)
return fmt.Errorf("consumer chain (%s) is not running", p.ChainId)
}

k.SetTopN(ctx, p.ChainId, p.Top_N)
Expand Down

0 comments on commit 035377e

Please sign in to comment.