diff --git a/docs/internal/migrations/cosmos-sdk-v0.50-migration.md b/docs/internal/migrations/cosmos-sdk-v0.50-migration.md index 9844de696e..14950b509f 100644 --- a/docs/internal/migrations/cosmos-sdk-v0.50-migration.md +++ b/docs/internal/migrations/cosmos-sdk-v0.50-migration.md @@ -80,7 +80,7 @@ go get github.com/cosmos/ibc-go/modules/capability@v1.0.0-rc5 * `sdk.NewDecFromInt` -> `math.LegacyNewDecFromInt` * `sdk.OneDec` -> `math.LegacyOneDec` * `sdk.NewDecWithPrec` -> `math.LegacyNewDecWithPrec` - * also update all function defintions that are using them + * also update all function definitions that are using them * use `math.NewInt` instead of `sdk.NewInt` * `sdktypes.NewInt`, diff --git a/proto/interchain_security/ccv/provider/v1/tx.proto b/proto/interchain_security/ccv/provider/v1/tx.proto index a417aab3c0..91d7e517a3 100644 --- a/proto/interchain_security/ccv/provider/v1/tx.proto +++ b/proto/interchain_security/ccv/provider/v1/tx.proto @@ -160,7 +160,7 @@ message MsgConsumerAddition { // channel is created on top of the same connection as the CCV channel. // Note that transfer_channel_id is the ID of the channel end on the consumer // chain. it is most relevant for chains performing a sovereign to consumer - // changeover in order to maintan the existing ibc transfer channel + // changeover in order to maintain the existing ibc transfer channel string distribution_transmission_channel = 12; // Corresponds to the percentage of validators that have to validate the chain under the Top N case. // For example, 53 corresponds to a Top 53% chain, meaning that the top 53% provider validators by voting power diff --git a/tests/e2e/trace_handlers_test.go b/tests/e2e/trace_handlers_test.go index 8fcbb60c67..e4f9e46f12 100644 --- a/tests/e2e/trace_handlers_test.go +++ b/tests/e2e/trace_handlers_test.go @@ -120,7 +120,7 @@ func TestMarshalAndUnmarshalChainState(t *testing.T) { }, }, }}, - "IBC trasfer update params": {ChainState{ + "IBC transfer update params": {ChainState{ ValBalances: &map[ValidatorID]uint{ ValidatorID("alice"): 9889999998, ValidatorID("bob"): 9960000001, diff --git a/tests/integration/normal_operations.go b/tests/integration/normal_operations.go index fc71fec247..155ac4f44d 100644 --- a/tests/integration/normal_operations.go +++ b/tests/integration/normal_operations.go @@ -37,7 +37,7 @@ func (k CCVTestSuite) TestHistoricalInfo() { //nolint:govet // this is a test so // increased by HistoricalEntries in order to prune the historical info less or equal to the current block height // Note that historical info containing the created validators were stored during the BeginBlocker of the current block // at the moment of creation and thus are indexed with the respective block heights InitHeight and InitHeight+1 - // Last saved historical info was in the last commited block k.consumerChain.GetContext().BlockHeight(), meaning that + // Last saved historical info was in the last committed block k.consumerChain.GetContext().BlockHeight(), meaning that // if we want to prune old entries we need to start from the last saved historical info which is k.consumerChain.GetContext().BlockHeight() - 1 testSetup := []func(CCVTestSuite){ createVal, diff --git a/tests/integration/provider_gov_hooks.go b/tests/integration/provider_gov_hooks.go index 6c99f17c64..e3f9cc8ace 100644 --- a/tests/integration/provider_gov_hooks.go +++ b/tests/integration/provider_gov_hooks.go @@ -14,7 +14,7 @@ import ( ) // tests AfterProposalSubmission and AfterProposalVotingPeriodEnded hooks -// hooks require adding a proposal in the gov module and regitering a consumer chain with the provider module +// hooks require adding a proposal in the gov module and registering a consumer chain with the provider module func (s *CCVTestSuite) TestAfterPropSubmissionAndVotingPeriodEnded() { ctx := s.providerChain.GetContext() providerKeeper := s.providerApp.GetProviderKeeper() diff --git a/tests/integration/slashing.go b/tests/integration/slashing.go index 9f29c2806c..2e01c99fe7 100644 --- a/tests/integration/slashing.go +++ b/tests/integration/slashing.go @@ -129,7 +129,7 @@ func (s *CCVTestSuite) TestRelayAndApplyDowntimePacket() { relayAllCommittedPackets(s, s.providerChain, bundle.Path, ccv.ProviderPortID, bundle.Path.EndpointB.ChannelID, 1) - // check that each consumer updated its VSC ID for the subsequent not commited block ctx.BlockHeight() + // check that each consumer updated its VSC ID for the subsequent not committed block ctx.BlockHeight() consumerKeeper := bundle.GetKeeper() ctx := bundle.GetCtx() actualValsetUpdateID := consumerKeeper.GetHeightValsetUpdateID( diff --git a/x/ccv/provider/keeper/consumer_equivocation.go b/x/ccv/provider/keeper/consumer_equivocation.go index b7aebf5c9c..8f4f59732a 100644 --- a/x/ccv/provider/keeper/consumer_equivocation.go +++ b/x/ccv/provider/keeper/consumer_equivocation.go @@ -397,7 +397,7 @@ func (k Keeper) JailAndTombstoneValidator(ctx sdk.Context, providerAddr types.Pr if err != nil && errors.Is(err, stakingtypes.ErrNoValidatorFound) { return errorsmod.Wrapf(slashingtypes.ErrNoValidatorForAddress, "provider consensus address: %s", providerAddr.String()) } else if err != nil { - return errorsmod.Wrapf(slashingtypes.ErrBadValidatorAddr, "unkown error looking for provider consensus address: %s", providerAddr.String()) + return errorsmod.Wrapf(slashingtypes.ErrBadValidatorAddr, "unknown error looking for provider consensus address: %s", providerAddr.String()) } if validator.IsUnbonded() { @@ -467,7 +467,7 @@ func (k Keeper) SlashValidator(ctx sdk.Context, providerAddr types.ProviderConsA if err != nil && errors.Is(err, stakingtypes.ErrNoValidatorFound) { return errorsmod.Wrapf(slashingtypes.ErrNoValidatorForAddress, "provider consensus address: %s", providerAddr.String()) } else if err != nil { - return errorsmod.Wrapf(slashingtypes.ErrBadValidatorAddr, "unkown error looking for provider consensus address: %s", providerAddr.String()) + return errorsmod.Wrapf(slashingtypes.ErrBadValidatorAddr, "unknown error looking for provider consensus address: %s", providerAddr.String()) } if validator.IsUnbonded() {