Skip to content

Commit 06f5339

Browse files
github-actions[bot]github-merge-queue[bot]Alex | Interchain Labs
authoredJan 9, 2025··
chore: fix spelling errors (#23270)
Co-authored-by: github-merge-queue <[email protected]> Co-authored-by: Alex | Interchain Labs <[email protected]>
1 parent 87dfe25 commit 06f5339

File tree

18 files changed

+22
-20
lines changed

18 files changed

+22
-20
lines changed
 

‎.github/.codespellignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ cips
22
pullrequest
33
keypair
44
pastTime
5-
hasTables
65
Nam
76
EyT
87
upTo
9-
pullRequests
8+
pullRequests
9+
AccountAt
10+
expRes
11+
hasTables

‎CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Our Pledge
44

5-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
66

77
## Our Standards
88

‎client/config/toml.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func writeConfigFile(configFilePath string, config interface{}) error {
7373
return os.WriteFile(configFilePath, buffer.Bytes(), 0o600)
7474
}
7575

76-
// getClientConfig reads values from client.toml file and unmarshalls them into ClientConfig
76+
// getClientConfig reads values from client.toml file and unmarshals them into ClientConfig
7777
func getClientConfig(configPath string, v *viper.Viper) (*Config, error) {
7878
v.AddConfigPath(configPath)
7979
v.SetConfigName("client")

‎client/v2/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ To sign a file `sign-file` command offers some helpful flags:
304304
--encoding string Choose an encoding method for the file content to be added as msg data (no-encoding|base64|hex) (default "no-encoding")
305305
--indent string Choose an indent for the tx (default " ")
306306
--notEmitUnpopulated Don't show unpopulated fields in the tx
307-
--output string Choose an output format for the tx (json|text (default "json")
307+
--output string Choose an output format for the tx (json|text) (default "json")
308308
--output-document string The document will be written to the given file instead of STDOUT
309309
```
310310

‎client/v2/autocli/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func writeConfigFile(configFilePath string, config *Config) error {
114114
return os.WriteFile(configFilePath, b, 0o600)
115115
}
116116

117-
// readConfig reads values from client.toml file and unmarshalls them into ClientConfig
117+
// readConfig reads values from client.toml file and unmarshals them into ClientConfig
118118
func readConfig(configPath string, v *viper.Viper) (*Config, error) {
119119
v.AddConfigPath(configPath)
120120
v.SetConfigName("client")

‎client/v2/offchain/verify.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func verify(addressCodec address.Codec, txConfig clitx.TxConfig, dTx clitx.Tx) e
9595
return nil
9696
}
9797

98-
// unmarshal unmarshalls a digest to a Tx using protobuf protojson.
98+
// unmarshal unmarshals a digest to a Tx using protobuf protojson.
9999
func unmarshal(format string, bz []byte, config clitx.TxConfig) (clitx.Tx, error) {
100100
switch format {
101101
case "json":

‎codec/testutil/codec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (o CodecOptions) NewCodec() *codec.ProtoCodec {
5858
return codec.NewProtoCodec(o.NewInterfaceRegistry())
5959
}
6060

61-
// GetAddressCodec returns the address codec. If not address codec was provided it'll create a new one based on the
61+
// GetAddressCodec returns the address codec. If no address codec was provided it'll create a new one based on the
6262
// bech32 prefix.
6363
func (o CodecOptions) GetAddressCodec() coreaddress.Codec {
6464
if o.AddressCodec != nil {

‎core/appmodule/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package appmodule defines what is needed for an module to be used in the Cosmos SDK (runtime).
1+
// Package appmodule defines what is needed for a module to be used in the Cosmos SDK (runtime).
22
// It is equivalent to the appmodulev2 package, but less flexible to stay compatible with baseapp instead of server/v2.
33
// If you are looking at integrating dependency injection into your module please see depinject appconfig documentation.
44
package appmodule

‎core/appmodule/v2/module.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type AppModule interface {
2323
// custom logic before BeginBlock.
2424
type HasPreBlocker interface {
2525
AppModule
26-
// PreBlock is method that will be run before BeginBlock.
26+
// PreBlock is a method that will be run before BeginBlock.
2727
PreBlock(context.Context) error
2828
}
2929

@@ -85,7 +85,7 @@ type HasTxValidator[T transaction.Tx] interface {
8585
}
8686

8787
// HasUpdateValidators is an extension interface that contains information about the AppModule and UpdateValidators.
88-
// It can be seen as the alternative of the Cosmos SDK' HasABCIEndBlocker.
88+
// It can be seen as the alternative of the Cosmos SDK HasABCIEndBlocker.
8989
// Both are still supported.
9090
type HasUpdateValidators interface {
9191
AppModule

‎core/store/store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type ReaderMap interface {
142142
// WriterMap represents a writable actor state.
143143
type WriterMap interface {
144144
ReaderMap
145-
// GetWriter must the return a WritableState
145+
// GetWriter must return a WritableState
146146
// for the provided actor namespace.
147147
GetWriter(actor []byte) (Writer, error)
148148
// ApplyStateChanges applies all the state changes

‎core/testing/memdb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ func (b *memDBBatch) Write() error {
430430
}
431431
}
432432

433-
// Make sure batch cannot be used afterwards. Callers should still call Close(), for
433+
// Make sure batch cannot be used afterwards. Callers should still call Close().
434434
return b.Close()
435435
}
436436

‎crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include/secp256k1.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_privkey_tweak_mul(
534534
* uniformly random 32-byte arrays, or equal to zero. 1 otherwise.
535535
* Args: ctx: pointer to a context object initialized for validation
536536
* (cannot be NULL).
537-
* In/Out: pubkey: pointer to a public key obkect.
537+
* In/Out: pubkey: pointer to a public key object.
538538
* In: tweak: pointer to a 32-byte tweak.
539539
*/
540540
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_tweak_mul(

‎crypto/types/multisig/multisignature.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func getIndex(pk types.PubKey, keys []types.PubKey) int {
3636
}
3737

3838
// AddSignature adds a signature to the multisig, at the corresponding index. The index must
39-
// represent the pubkey index in the LegacyAmingPubKey structure, which verifies this signature.
39+
// represent the pubkey index in the LegacyAminoPubKey structure, which verifies this signature.
4040
// If the signature already exists, replace it.
4141
func AddSignature(mSig *signing.MultiSignatureData, sig signing.SignatureData, index int) {
4242
newSigIndex := mSig.BitArray.NumTrueBitsBefore(index)

‎docs/build/building-apps/upgrades/0.52.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ if err != nil {
322322

323323
The vesting account message and CLI are removed. Existing vesting accounts remain, but you cannot create new ones.
324324

325-
In order to create new vesting accounts you need to add the accounts module to your chain. We provide vesting acccounts by default which have simlar logic to the previous vesting accounts. If you would like custom vesting accounts, they can be implemented in `x/accounts`.
325+
In order to create new vesting accounts you need to add the accounts module to your chain. We provide vesting accounts by default which have similar logic to the previous vesting accounts. If you would like custom vesting accounts, they can be implemented in `x/accounts`.
326326

327327
### Introducing x/accounts AccountNumber
328328

‎docs/learn/beginner/00-app-anatomy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Note that `sdk.Msg`s are bundled in [transactions](../advanced/01-transactions.m
187187

188188
When a valid block of transactions is received by the full-node, CometBFT relays each one to the application via [`DeliverTx`](https://docs.cometbft.com/v0.37/spec/abci/abci++_app_requirements#specifics-of-responsedelivertx). Then, the application handles the transaction:
189189

190-
1. Upon receiving the transaction, the application first unmarshalls it from `[]byte`.
190+
1. Upon receiving the transaction, the application first unmarshals it from `[]byte`.
191191
2. Then, it verifies a few things about the transaction like [fee payment and signatures](./04-gas-fees.md#antehandler) before extracting the `Msg`(s) contained in the transaction.
192192
3. `sdk.Msg`s are encoded using Protobuf [`Any`s](#register-codec). By analyzing each `Any`'s `type_url`, baseapp's `msgServiceRouter` routes the `sdk.Msg` to the corresponding module's `Msg` service.
193193
4. If the message is successfully processed, the state is updated.

‎docs/rfc/rfc-004-accounts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ their structure and functionality.
5151
Instead of representing accounts as simple `google.Protobuf.Any` structures stored in state with no business logic
5252
attached, this proposal suggests a more sophisticated account representation that is closer to module entities.
5353
In fact, accounts should be able to receive messages and process them in the same way modules do, and be capable of storing
54-
state in a isolated (prefixed) portion of state belonging only to them, in the same way as modules do.
54+
state in an isolated (prefixed) portion of state belonging only to them, in the same way as modules do.
5555

5656
### Account Message Reception
5757

‎x/staking/keeper/cons_pubkey.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (k Keeper) updateToNewPubkey(ctx context.Context, val types.Validator, oldP
126126
}
127127

128128
// setConsAddrToValidatorIdentifierMap adds an entry in the state with the current consAddr to the initial consAddr of the validator.
129-
// It first tries to find the validatorIdentifier if there is a entry already present in the state.
129+
// It first tries to find the validatorIdentifier if there is an entry already present in the state.
130130
func (k Keeper) setConsAddrToValidatorIdentifierMap(ctx context.Context, oldConsAddr, newConsAddr sdk.ConsAddress) error {
131131
validatorIdentifier, err := k.ConsAddrToValidatorIdentifierMap.Get(ctx, oldConsAddr)
132132
if err != nil && !errors.Is(err, collections.ErrNotFound) {

‎x/tx/signing/textual/protoreflect_list_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
var _ protoreflect.List = (*genericList[proto.Message])(nil)
99

10-
// NewGenericList creates a empty list that satisfies the protoreflect.List
10+
// NewGenericList creates an empty list that satisfies the protoreflect.List
1111
// interface.
1212
func NewGenericList[T proto.Message](list []T) protoreflect.List {
1313
return &genericList[T]{&list}

0 commit comments

Comments
 (0)
Please sign in to comment.