Skip to content

Commit

Permalink
fix: grammatical typos (#4145)
Browse files Browse the repository at this point in the history
This PR addresses and corrects grammatical errors in comments across
multiple files.
Specifically, it replaces the incorrect usage of "a" with "an" before
words starting with vowel sounds.
The affected files include:
- `ante.go`
- `export.go`
- `namespace.go`
- `keys.go`
  • Loading branch information
vipocenka authored Dec 23, 2024
1 parent 13149fc commit 9e42afa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func NewAnteHandler(
NewGovProposalDecorator(),
// Side effect: increment the nonce for all tx signers.
ante.NewIncrementSequenceDecorator(accountKeeper),
// Ensure that the tx is not a IBC packet or update message that has already been processed.
// Ensure that the tx is not an IBC packet or update message that has already been processed.
ibcante.NewRedundantRelayDecorator(channelKeeper),
)
}
Expand Down
2 changes: 1 addition & 1 deletion app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (app *App) getExportHeight(forZeroHeight bool) int64 {
func (app *App) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) {
applyAllowedAddrs := false

// check if there is a allowed address list
// check if there is an allowed address list
if len(jailAllowedAddrs) > 0 {
applyAllowedAddrs = true
}
Expand Down
2 changes: 1 addition & 1 deletion test/util/testfactory/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func RandomBlobNamespaces(rand *tmrand.Rand, count int) (namespaces []share.Name
return namespaces
}

// isBlobNamespace returns an true if this namespace is a valid user-specifiable
// isBlobNamespace returns a true if this namespace is a valid user-specifiable
// blob namespace.
func isBlobNamespace(namespace share.Namespace) bool {
if namespace.IsReserved() {
Expand Down
2 changes: 1 addition & 1 deletion x/signal/types/keys.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

var (
// UpgradeKey is the key in the signal store used to persist a upgrade if one is
// UpgradeKey is the key in the signal store used to persist an upgrade if one is
// pending.
UpgradeKey = []byte{0x00}

Expand Down

0 comments on commit 9e42afa

Please sign in to comment.