docs: correct spelling errors across multiple packages (#24988)
This commit is contained in:
@@ -45,7 +45,7 @@ func (s *GRPCQueryTestSuite) SetupSuite() {
|
||||
s.Require().NoError(s.network.WaitForNextBlock())
|
||||
}
|
||||
|
||||
// TearDownSuite cleans up the curret test network after _each_ test.
|
||||
// TearDownSuite cleans up the current test network after _each_ test.
|
||||
func (s *GRPCQueryTestSuite) TearDownSuite() {
|
||||
s.T().Log("tearing down grpc e2e test suite")
|
||||
s.network.Cleanup()
|
||||
|
||||
@@ -123,7 +123,7 @@ func (s *E2ETestSuite) SetupSuite() {
|
||||
s.Require().NoError(s.network.WaitForNextBlock())
|
||||
}
|
||||
|
||||
// TearDownSuite cleans up the curret test network after _each_ test.
|
||||
// TearDownSuite cleans up the current test network after _each_ test.
|
||||
func (s *E2ETestSuite) TearDownSuite() {
|
||||
s.T().Log("tearing down e2e test suite1")
|
||||
s.network.Cleanup()
|
||||
|
||||
@@ -46,7 +46,7 @@ func (s *WithdrawAllTestSuite) SetupSuite() {
|
||||
s.Require().NoError(s.network.WaitForNextBlock())
|
||||
}
|
||||
|
||||
// TearDownSuite cleans up the curret test network after _each_ test.
|
||||
// TearDownSuite cleans up the current test network after _each_ test.
|
||||
func (s *WithdrawAllTestSuite) TearDownSuite() {
|
||||
s.T().Log("tearing down withdraw all e2e test suite")
|
||||
s.network.Cleanup()
|
||||
|
||||
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user