From 0e4b14e887906ee394cbebc610de3048e95364f2 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:38:54 +0100 Subject: [PATCH 01/10] typos groups_test.go --- e2e/tests/interchain_accounts/groups_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/tests/interchain_accounts/groups_test.go b/e2e/tests/interchain_accounts/groups_test.go index e6e113e6c09..1019fbbb253 100644 --- a/e2e/tests/interchain_accounts/groups_test.go +++ b/e2e/tests/interchain_accounts/groups_test.go @@ -44,7 +44,7 @@ const ( // where members can start sending MsgExec. This means that the window for // sending a MsgExec transaction is: // `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - // where max_execution_period is a app-specific config, defined in the keeper. + // where max_execution_period is an app-specific config, defined in the keeper. // If not set, min_execution_period will default to 0. DefaultMinExecutionPeriod = time.Duration(0) From 8dfc2652d9f47edf3ab4da0d8f19180e54ad216c Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:39:31 +0100 Subject: [PATCH 02/10] typos diagnostics.go --- e2e/testsuite/diagnostics/diagnostics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/testsuite/diagnostics/diagnostics.go b/e2e/testsuite/diagnostics/diagnostics.go index e00d670e14d..958e3a8f428 100644 --- a/e2e/testsuite/diagnostics/diagnostics.go +++ b/e2e/testsuite/diagnostics/diagnostics.go @@ -99,7 +99,7 @@ func Collect(t *testing.T, dc *dockerclient.Client, debugModeEnabled bool, suite } } -// getContainerName returns a either the ID of the container or stripped down human-readable +// getContainerName returns an either the ID of the container or stripped down human-readable // version of the name if the name is non-empty. // // Note: You should still always use the ID when interacting with the docker client. From e584680b078027b5f0a11e8a8b3aa3cbdf7bd1de Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:40:13 +0100 Subject: [PATCH 03/10] typos callbacks_test.go --- modules/apps/callbacks/callbacks_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/callbacks/callbacks_test.go b/modules/apps/callbacks/callbacks_test.go index 21a1a07b78d..69c77b7ab0b 100644 --- a/modules/apps/callbacks/callbacks_test.go +++ b/modules/apps/callbacks/callbacks_test.go @@ -112,7 +112,7 @@ func (s *CallbacksTestSuite) SetupICATest() string { s.path.SetupConnections() icaOwner := s.chainA.SenderAccount.GetAddress().String() - // ICAVersion defines a interchain accounts version string + // ICAVersion defines an interchain accounts version string icaVersion := icatypes.NewDefaultMetadataString(s.path.EndpointA.ConnectionID, s.path.EndpointB.ConnectionID) icaControllerPortID, err := icatypes.NewControllerPortID(icaOwner) s.Require().NoError(err) From 2cd7ab1f161d273cf758406b2fc79d047bb76c13 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:40:43 +0100 Subject: [PATCH 04/10] typos export.go --- modules/apps/callbacks/testing/simapp/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/callbacks/testing/simapp/export.go b/modules/apps/callbacks/testing/simapp/export.go index 45642fa1064..f6fe79c8649 100644 --- a/modules/apps/callbacks/testing/simapp/export.go +++ b/modules/apps/callbacks/testing/simapp/export.go @@ -57,7 +57,7 @@ func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAd func (app *SimApp) 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 } From 2539f918484f7175f8ae18e0feefd5921defb08c Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:41:17 +0100 Subject: [PATCH 05/10] typos genesis.go --- modules/apps/callbacks/testing/simapp/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/callbacks/testing/simapp/genesis.go b/modules/apps/callbacks/testing/simapp/genesis.go index 69fa46b90ef..19328b3f2e0 100644 --- a/modules/apps/callbacks/testing/simapp/genesis.go +++ b/modules/apps/callbacks/testing/simapp/genesis.go @@ -5,7 +5,7 @@ import ( ) // GenesisState of the blockchain is represented here as a map of raw json -// messages key'd by a identifier string. +// messages key'd by an identifier string. // The identifier is used to determine which module genesis information belongs // to so it may be appropriately routed during init chain. // Within this application default genesis information is retrieved from From 4e09a9c0ac7a4ca2704c3530e435f781679e002e Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:42:01 +0100 Subject: [PATCH 06/10] typos height.go --- modules/core/02-client/types/height.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/02-client/types/height.go b/modules/core/02-client/types/height.go index 82ce3a17a9c..6a61c0bf35c 100644 --- a/modules/core/02-client/types/height.go +++ b/modules/core/02-client/types/height.go @@ -166,7 +166,7 @@ func SetRevisionNumber(chainID string, revision uint64) (string, error) { return strings.Join(splitStr, "-"), nil } -// ParseChainID is a utility function that returns an revision number from the given ChainID. +// ParseChainID is a utility function that returns a revision number from the given ChainID. // ParseChainID attempts to parse a chain id in the format: `{chainID}-{revision}` // and return the revisionnumber as a uint64. // If the chainID is not in the expected format, a default revision value of 0 is returned. From 9da04d735eda6b3bf1f12df8f8db78eccec20fec Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:42:41 +0100 Subject: [PATCH 07/10] typos validate.go --- modules/core/24-host/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/24-host/validate.go b/modules/core/24-host/validate.go index 8802099abb9..3ba0f88847c 100644 --- a/modules/core/24-host/validate.go +++ b/modules/core/24-host/validate.go @@ -87,7 +87,7 @@ func PortIdentifierValidator(id string) error { return defaultIdentifierValidator(id, 2, DefaultMaxPortCharacterLength) } -// NewPathValidator takes in a Identifier Validator function and returns +// NewPathValidator takes in an Identifier Validator function and returns // a Path Validator function which requires path to consist of `/`-separated valid identifiers, // where a valid identifier is between 1-64 characters, contains only alphanumeric and some allowed // special characters (see IsValidID), and satisfies the custom `idValidator` function. From c5392c610a2924f7ee688cc03fe574ea58653dd9 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:43:13 +0100 Subject: [PATCH 08/10] typos export.go --- modules/light-clients/08-wasm/testing/simapp/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/light-clients/08-wasm/testing/simapp/export.go b/modules/light-clients/08-wasm/testing/simapp/export.go index 45642fa1064..f6fe79c8649 100644 --- a/modules/light-clients/08-wasm/testing/simapp/export.go +++ b/modules/light-clients/08-wasm/testing/simapp/export.go @@ -57,7 +57,7 @@ func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAd func (app *SimApp) 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 } From 372cff7f3e83e6555c899511da01c6da135d86b3 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:43:51 +0100 Subject: [PATCH 09/10] typos genesis.go --- modules/light-clients/08-wasm/testing/simapp/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/light-clients/08-wasm/testing/simapp/genesis.go b/modules/light-clients/08-wasm/testing/simapp/genesis.go index 2667b97a4fc..d71d15f4970 100644 --- a/modules/light-clients/08-wasm/testing/simapp/genesis.go +++ b/modules/light-clients/08-wasm/testing/simapp/genesis.go @@ -5,7 +5,7 @@ import ( ) // The genesis state of the blockchain is represented here as a map of raw json -// messages key'd by a identifier string. +// messages key'd by an identifier string. // The identifier is used to determine which module genesis information belongs // to so it may be appropriately routed during init chain. // Within this application default genesis information is retrieved from From 792bc036c6a5618171a260b9e51830766370af6a Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:44:27 +0100 Subject: [PATCH 10/10] typos export.go --- simapp/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simapp/export.go b/simapp/export.go index 45642fa1064..f6fe79c8649 100644 --- a/simapp/export.go +++ b/simapp/export.go @@ -57,7 +57,7 @@ func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAd func (app *SimApp) 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 }