diff --git a/x/evidence/CHANGELOG.md b/x/evidence/CHANGELOG.md index 96b277cf38..c36c4284eb 100644 --- a/x/evidence/CHANGELOG.md +++ b/x/evidence/CHANGELOG.md @@ -38,7 +38,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Features -* (x/evidence) [14724](https://github.com/cosmos/cosmos-sdk/pull/14724) The `x/evidence` module is extracted to have a separate go.mod file which allows it be a standalone module. +* (x/evidence) [#14724](https://github.com/cosmos/cosmos-sdk/pull/14724) The `x/evidence` module is extracted to have a separate go.mod file which allows it be a standalone module. * (keeper) [#15420](https://github.com/cosmos/cosmos-sdk/pull/15420) Move `BeginBlocker` to the keeper folder & make HandleEquivocation private ### API Breaking Changes diff --git a/x/evidence/README.md b/x/evidence/README.md index 00c4abf41b..aba2e10e6e 100644 --- a/x/evidence/README.md +++ b/x/evidence/README.md @@ -271,7 +271,7 @@ The `evidence` command allows users to list all evidence or evidence by hash. Usage: ```bash -simd query evidence evidence [flags] +simd query evidence [flags] ``` To query evidence by hash diff --git a/x/evidence/types/router.go b/x/evidence/types/router.go index cc9c9ec4ba..0682d2256c 100644 --- a/x/evidence/types/router.go +++ b/x/evidence/types/router.go @@ -51,7 +51,7 @@ func (rtr router) Sealed() bool { return rtr.sealed } -// AddRoute adds a governance handler for a given path. It returns the Router +// AddRoute adds an evidence handler for a given path. It returns the Router // so AddRoute calls can be linked. It will panic if the router is sealed. func (rtr *router) AddRoute(path string, h Handler) Router { if rtr.sealed { diff --git a/x/feegrant/errors.go b/x/feegrant/errors.go index edd6fb7ac0..45062066d3 100644 --- a/x/feegrant/errors.go +++ b/x/feegrant/errors.go @@ -2,7 +2,7 @@ package feegrant import "cosmossdk.io/errors" -// Codes for governance errors +// // Codes for feegrant errors const ( DefaultCodespace = ModuleName ) diff --git a/x/genutil/README.md b/x/genutil/README.md index 45cb45355b..34bc79d5c0 100644 --- a/x/genutil/README.md +++ b/x/genutil/README.md @@ -16,7 +16,7 @@ The `genutil` package contains a variety of genesis utility functionalities for ## Genesis Genutil contains the data structure that defines an application genesis. -An application genesis consist of a consensus genesis (g.e. CometBFT genesis) and application related genesis data. +An application genesis consists of a consensus genesis (g.e. CometBFT genesis) and application related genesis data. ```go reference https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-rc.0/x/genutil/types/genesis.go#L24-L34 diff --git a/x/gov/client/cli/prompt.go b/x/gov/client/cli/prompt.go index 600442e0a4..e83d37dd28 100644 --- a/x/gov/client/cli/prompt.go +++ b/x/gov/client/cli/prompt.go @@ -65,7 +65,7 @@ func Prompt[T any](data T, namePrefix string) (T, error) { } for i := range v.NumField() { - // if the field is a struct skip or not slice of string or int then skip + // if the field is a struct skip or not a slice of string or int then skip switch v.Field(i).Kind() { case reflect.Struct: // TODO(@julienrbrt) in the future we can add a recursive call to Prompt diff --git a/x/gov/client/cli/prompt_test.go b/x/gov/client/cli/prompt_test.go index 64d61728cb..fd1dd3f62f 100644 --- a/x/gov/client/cli/prompt_test.go +++ b/x/gov/client/cli/prompt_test.go @@ -59,7 +59,7 @@ func TestPromptIntegerOverflow(t *testing.T) { } func TestPromptParseInteger(t *testing.T) { - // Intentionally sending a value out of the range of + // Intentionally sending a value out of the range of int. values := []struct { in string want int diff --git a/x/gov/keeper/common_test.go b/x/gov/keeper/common_test.go index f50196fc4a..5035da0af1 100644 --- a/x/gov/keeper/common_test.go +++ b/x/gov/keeper/common_test.go @@ -110,7 +110,7 @@ func setupGovKeeper(t *testing.T) ( err = govKeeper.Constitution.Set(ctx, "constitution") require.NoError(t, err) - // Register all handlers for the MegServiceRouter. + // Register all handlers for the MsgServiceRouter. msr.SetInterfaceRegistry(encCfg.InterfaceRegistry) v1.RegisterMsgServer(msr, keeper.NewMsgServerImpl(govKeeper)) banktypes.RegisterMsgServer(msr, nil) // Nil is fine here as long as we never execute the proposal's Msgs.