fix: typos across the codebase (#25022)
This commit is contained in:
@@ -1432,7 +1432,7 @@ func (s *E2ETestSuite) TestAuxSigner() {
|
||||
true,
|
||||
},
|
||||
{
|
||||
"no error with SIGN_MDOE_DIRECT_AUX mode and generate-only set (ignores generate-only)",
|
||||
"no error with SIGN_MODE_DIRECT_AUX mode and generate-only set (ignores generate-only)",
|
||||
[]string{
|
||||
fmt.Sprintf("--%s=%s", flags.FlagSignMode, flags.SignModeDirectAux),
|
||||
fmt.Sprintf("--%s=true", flags.FlagGenerateOnly),
|
||||
@@ -1440,7 +1440,7 @@ func (s *E2ETestSuite) TestAuxSigner() {
|
||||
false,
|
||||
},
|
||||
{
|
||||
"no error with SIGN_MDOE_DIRECT_AUX mode and generate-only, tip flag set",
|
||||
"no error with SIGN_MODE_DIRECT_AUX mode and generate-only, tip flag set",
|
||||
[]string{
|
||||
fmt.Sprintf("--%s=%s", flags.FlagSignMode, flags.SignModeDirectAux),
|
||||
fmt.Sprintf("--%s=true", flags.FlagGenerateOnly),
|
||||
|
||||
@@ -248,7 +248,7 @@ func (s *E2ETestSuite) TestBalancesGRPCHandler() {
|
||||
},
|
||||
},
|
||||
{
|
||||
"gPRC account balance of a denom",
|
||||
"gRPC account balance of a denom",
|
||||
fmt.Sprintf("%s/cosmos/bank/v1beta1/balances/%s/by_denom?denom=%s", baseURL, val.Address.String(), s.cfg.BondDenom),
|
||||
&types.QueryBalanceResponse{},
|
||||
&types.QueryBalanceResponse{
|
||||
@@ -259,7 +259,7 @@ func (s *E2ETestSuite) TestBalancesGRPCHandler() {
|
||||
},
|
||||
},
|
||||
{
|
||||
"gPRC account balance of a bogus denom",
|
||||
"gRPC account balance of a bogus denom",
|
||||
fmt.Sprintf("%s/cosmos/bank/v1beta1/balances/%s/by_denom?denom=foobar", baseURL, val.Address.String()),
|
||||
&types.QueryBalanceResponse{},
|
||||
&types.QueryBalanceResponse{
|
||||
|
||||
@@ -53,7 +53,7 @@ func (s *WithdrawAllTestSuite) TearDownSuite() {
|
||||
}
|
||||
|
||||
// TestNewWithdrawAllRewardsGenerateOnly requires multiple validators, if I add this test to `E2ETestSuite` by increasing
|
||||
// `NumValidators` the existing tests are leading to non-determnism so created new suite for this test.
|
||||
// `NumValidators` the existing tests are leading to non-determinism so created new suite for this test.
|
||||
func (s *WithdrawAllTestSuite) TestNewWithdrawAllRewardsGenerateOnly() {
|
||||
require := s.Require()
|
||||
val := s.network.Validators[0]
|
||||
|
||||
@@ -91,7 +91,6 @@ func (s *E2ETestSuite) SetupSuite() {
|
||||
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
|
||||
)
|
||||
s.Require().NoError(err)
|
||||
s.Require().NoError(err)
|
||||
s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes))
|
||||
s.Require().Equal(uint32(0), txRes.Code)
|
||||
s.Require().NoError(s.network.WaitForNextBlock())
|
||||
|
||||
@@ -1004,7 +1004,7 @@ func (s *CLITestSuite) TestAuxSigner() {
|
||||
true,
|
||||
},
|
||||
{
|
||||
"no error with SIGN_MDOE_DIRECT_AUX mode and generate-only set (ignores generate-only)",
|
||||
"no error with SIGN_MODE_DIRECT_AUX mode and generate-only set (ignores generate-only)",
|
||||
[]string{
|
||||
fmt.Sprintf("--%s=%s", flags.FlagSignMode, flags.SignModeDirectAux),
|
||||
fmt.Sprintf("--%s=true", flags.FlagGenerateOnly),
|
||||
@@ -1012,7 +1012,7 @@ func (s *CLITestSuite) TestAuxSigner() {
|
||||
false,
|
||||
},
|
||||
{
|
||||
"no error with SIGN_MDOE_DIRECT_AUX mode and generate-only, tip flag set",
|
||||
"no error with SIGN_MODE_DIRECT_AUX mode and generate-only, tip flag set",
|
||||
[]string{
|
||||
fmt.Sprintf("--%s=%s", flags.FlagSignMode, flags.SignModeDirectAux),
|
||||
fmt.Sprintf("--%s=true", flags.FlagGenerateOnly),
|
||||
|
||||
@@ -265,7 +265,7 @@ func TestTallyOnlyValidatorsNonVoter(t *testing.T) {
|
||||
assert.Assert(t, tallyResults.Equals(v1.EmptyTallyResult()) == false)
|
||||
}
|
||||
|
||||
func TestTallyDelgatorOverride(t *testing.T) {
|
||||
func TestTallyDelegatorOverride(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
f := initFixture(t)
|
||||
@@ -305,7 +305,7 @@ func TestTallyDelgatorOverride(t *testing.T) {
|
||||
assert.Assert(t, tallyResults.Equals(v1.EmptyTallyResult()) == false)
|
||||
}
|
||||
|
||||
func TestTallyDelgatorInherit(t *testing.T) {
|
||||
func TestTallyDelegatorInherit(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
f := initFixture(t)
|
||||
@@ -344,7 +344,7 @@ func TestTallyDelgatorInherit(t *testing.T) {
|
||||
assert.Assert(t, tallyResults.Equals(v1.EmptyTallyResult()) == false)
|
||||
}
|
||||
|
||||
func TestTallyDelgatorMultipleOverride(t *testing.T) {
|
||||
func TestTallyDelegatorMultipleOverride(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
f := initFixture(t)
|
||||
@@ -388,7 +388,7 @@ func TestTallyDelgatorMultipleOverride(t *testing.T) {
|
||||
assert.Assert(t, tallyResults.Equals(v1.EmptyTallyResult()) == false)
|
||||
}
|
||||
|
||||
func TestTallyDelgatorMultipleInherit(t *testing.T) {
|
||||
func TestTallyDelegatorMultipleInherit(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
f := initFixture(t)
|
||||
|
||||
Reference in New Issue
Block a user