Skip to content

Commit

Permalink
golangci-lint run ./... --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed May 13, 2024
1 parent da4a5f1 commit 92b570e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions runtime/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type App struct {
*baseapp.BaseApp

ModuleManager *module.Manager
configurator module.Configurator
configurator module.Configurator
config *runtimev1alpha1.Module
storeKeys []storetypes.StoreKey
interfaceRegistry codectypes.InterfaceRegistry
Expand Down Expand Up @@ -233,7 +233,7 @@ func (a *App) RegisterNodeService(clientCtx client.Context, cfg config.Config) {
}

// Configurator returns the app's configurator.
func (a *App) Configurator() module.Configurator {
func (a *App) Configurator() module.Configurator {
return a.configurator
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type appModule struct {
func (m appModule) IsOnePerModuleType() {}
func (m appModule) IsAppModule() {}

func (m appModule) RegisterServices(configurator module.Configurator) {
func (m appModule) RegisterServices(configurator module.Configurator) {
err := m.app.registerRuntimeServices(configurator)
if err != nil {
panic(err)
Expand Down
2 changes: 1 addition & 1 deletion runtime/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
)

func (a *App) registerRuntimeServices(cfg module.Configurator) error {
func (a *App) registerRuntimeServices(cfg module.Configurator) error {
autocliv1.RegisterQueryServer(cfg.QueryServer(), services.NewAutoCLIQueryService(a.ModuleManager.Modules))

reflectionSvc, err := services.NewReflectionService()
Expand Down
2 changes: 1 addition & 1 deletion runtime/services/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type autocliConfigurator struct {
err error
}

var _ module.Configurator = &autocliConfigurator{}
var _ module.Configurator = &autocliConfigurator{}

func (a *autocliConfigurator) MsgServer() gogogrpc.Server { return &a.msgServer }

Expand Down
2 changes: 1 addition & 1 deletion testutil/sims/simulation_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func SimulationOperations(app runtime.AppSimI, cdc codec.Codec, config simtypes.
}
}

simState.LegacyProposalContents = app.SimulationManager().GetProposalContents(simState)
simState.LegacyProposalContents = app.SimulationManager().GetProposalContents(simState)
simState.ProposalMsgs = app.SimulationManager().GetProposalMsgs(simState)
return app.SimulationManager().WeightedOperations(simState)
}
Expand Down

0 comments on commit 92b570e

Please sign in to comment.