docs: correct spelling errors across multiple packages (#24988)

This commit is contained in:
Micke
2025-07-24 21:17:14 +00:00
committed by GitHub
parent 39bec15523
commit c047bf741c
8 changed files with 11 additions and 11 deletions
@@ -645,7 +645,7 @@ func TestApplyAndReturnValidatorSetUpdatesInserted(t *testing.T) {
validators[1] = keeper.TestingUpdateValidator(f.stakingKeeper, f.sdkCtx, validators[1], false)
applyValidatorSetUpdates(t, f.sdkCtx, f.stakingKeeper, 2)
// test validtor added at the beginning
// test validator added at the beginning
// tendermintUpdate set: {} -> {c0}
assert.NilError(t, f.stakingKeeper.SetValidator(f.sdkCtx, validators[2]))
assert.NilError(t, f.stakingKeeper.SetValidatorByPowerIndex(f.sdkCtx, validators[2]))
@@ -655,7 +655,7 @@ func TestApplyAndReturnValidatorSetUpdatesInserted(t *testing.T) {
validators[2], _ = f.stakingKeeper.GetValidator(f.sdkCtx, val2bz)
assert.DeepEqual(t, validators[2].ABCIValidatorUpdate(f.stakingKeeper.PowerReduction(f.sdkCtx)), updates[0])
// test validtor added at the beginning
// test validator added at the beginning
// tendermintUpdate set: {} -> {c0}
assert.NilError(t, f.stakingKeeper.SetValidator(f.sdkCtx, validators[3]))
assert.NilError(t, f.stakingKeeper.SetValidatorByPowerIndex(f.sdkCtx, validators[3]))
@@ -665,7 +665,7 @@ func TestApplyAndReturnValidatorSetUpdatesInserted(t *testing.T) {
validators[3], _ = f.stakingKeeper.GetValidator(f.sdkCtx, val3bz)
assert.DeepEqual(t, validators[3].ABCIValidatorUpdate(f.stakingKeeper.PowerReduction(f.sdkCtx)), updates[0])
// test validtor added at the end
// test validator added at the end
// tendermintUpdate set: {} -> {c0}
assert.NilError(t, f.stakingKeeper.SetValidator(f.sdkCtx, validators[4]))
assert.NilError(t, f.stakingKeeper.SetValidatorByPowerIndex(f.sdkCtx, validators[4]))