Skip to content

Commit 6f6bc32

Browse files
viktorking7Alex | Interchain Labs
andauthored
fix(typos): correct spelling and wording in Go code and Markdown (#25232)
Co-authored-by: Alex | Interchain Labs <[email protected]>
1 parent f68f131 commit 6f6bc32

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

codec/unknownproto/benchmarks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func init() {
2222
Fee: 99,
2323
Nested: &testdata.Nested3B{
2424
Id: 3,
25-
Name: "3A this one that one there those oens",
25+
Name: "3A this one that one there those ones",
2626
Age: 4588,
2727
B4: []*testdata.Nested4B{
2828
{

contrib/x/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Deprecated Modules
22

3-
We maintain depcrecated modules that are no longer supported for backwards compatibility. If users want to
3+
We maintain deprecated modules that are no longer supported for backwards compatibility. If users want to
44
continue using these modules, we recommend they fork themselves and maintain as ICL will no longer be
5-
updating these modules or supporting them in our Bug Bounty Program.
5+
updating these modules or supporting them in our Bug Bounty Program.

crypto/ledger/ledger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func TestPublicKeyHDPath(t *testing.T) {
163163
require.NoError(t, tmp.ValidateKey())
164164
(&tmp).AssertIsPrivKeyInner()
165165

166-
// in this test we are chekcking if the generated keys are correct and stored in a right path.
166+
// in this test we are checking if the generated keys are correct and stored in a right path.
167167
require.Equal(t,
168168
expectedPubKeys[i], priv.PubKey().String(),
169169
"Is your device using test mnemonic: %s ?", testdata.TestMnemonic)

depinject/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func (c *container) addNode(provider *providerDescriptor, key *moduleKey) (inter
297297
}
298298

299299
if hasOwnModuleKeyParam {
300-
return nil, fmt.Errorf("%T and %T must not be declared as dependencies on the same provided",
300+
return nil, fmt.Errorf("%T and %T must not be declared as dependencies on the same provider",
301301
ModuleKey{}, OwnModuleKey{})
302302
}
303303

math/uint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type uintTestSuite struct {
1717
suite.Suite
1818
}
1919

20-
func TestUnitTestSuite(t *testing.T) {
20+
func TestUintTestSuite(t *testing.T) {
2121
suite.Run(t, new(uintTestSuite))
2222
}
2323

server/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type StartCmdOptions struct {
130130
PostSetupStandalone func(svrCtx *Context, clientCtx client.Context, ctx context.Context, g *errgroup.Group) error
131131
// AddFlags add custom flags to start cmd
132132
AddFlags func(cmd *cobra.Command)
133-
// StartCommandHanlder can be used to customize the start command handler
133+
// StartCommandHandler can be used to customize the start command handler
134134
StartCommandHandler func(svrCtx *Context, clientCtx client.Context, appCreator types.AppCreator, inProcessConsensus bool, opts StartCmdOptions) error
135135
}
136136

server/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func InterceptConfigsAndCreateContext(cmd *cobra.Command, customAppConfigTemplat
165165
return serverCtx, nil
166166
}
167167

168-
// CreateSDKLogger creates a the default SDK logger.
168+
// CreateSDKLogger creates the default SDK logger.
169169
// It reads the log level and format from the server context.
170170
func CreateSDKLogger(ctx *Context, out io.Writer) (log.Logger, error) {
171171
var opts []log.Option

simapp/app_di.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func NewSimApp(
123123
//
124124
// authtypes.RandomGenesisAccountsFn(simulation.RandomGenesisAccounts),
125125
//
126-
// For providing a custom a base account type add it below.
126+
// For providing a custom base account type add it below.
127127
// By default the auth module uses authtypes.ProtoBaseAccount().
128128
//
129129
// func() sdk.AccountI { return authtypes.ProtoBaseAccount() },

types/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ func (s *configTestSuite) TestConfig_SetFullFundraiserPath() {
5757
config.SetFullFundraiserPath("test/path")
5858
s.Require().Equal("test/path", config.GetFullFundraiserPath())
5959

60-
config.SetFullFundraiserPath("test/poth")
61-
s.Require().Equal("test/poth", config.GetFullFundraiserPath())
60+
config.SetFullFundraiserPath("test/path")
61+
s.Require().Equal("test/path", config.GetFullFundraiserPath())
6262

6363
config.Seal()
6464
s.Require().Panics(func() { config.SetFullFundraiserPath("x/test/path") })

x/auth/ante/sigverify.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var (
3535
)
3636

3737
func init() {
38-
// This decodes a valid hex string into a sepc256k1Pubkey for use in transaction simulation
38+
// This decodes a valid hex string into a secp256k1Pubkey for use in transaction simulation
3939
bz, _ := hex.DecodeString("035AD6810A47F073553FF30D2FCC7E0D3B1C0B74B61A1AAA2582344037151E143A")
4040
copy(key, bz)
4141
simSecp256k1Pubkey.Key = key
@@ -100,7 +100,7 @@ func (spkd SetPubKeyDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate b
100100
if err != nil {
101101
return ctx, err
102102
}
103-
// account already has pubkey set,no need to reset
103+
// account already has pubkey set, no need to reset
104104
if acc.GetPubKey() != nil {
105105
continue
106106
}

0 commit comments

Comments
 (0)