Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hard-nett committed Jul 9, 2023
1 parent c71b9b0 commit a62b836
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,8 @@ func NewTerpApp(
// NOTE: this is not required apps that don't use the simulator for fuzz testing
// transactions
overrideModules := map[string]module.AppModuleSimulation{
authtypes.ModuleName: auth.NewAppModule(app.appCodec, app.AccountKeeper, authsims.RandomGenesisAccounts, app.GetSubspace(authtypes.ModuleName))}
authtypes.ModuleName: auth.NewAppModule(app.appCodec, app.AccountKeeper, authsims.RandomGenesisAccounts, app.GetSubspace(authtypes.ModuleName)),
}
app.sm = module.NewSimulationManagerFromAppModules(app.ModuleManager.Modules, overrideModules)

app.sm.RegisterStoreDecoders()
Expand Down
2 changes: 0 additions & 2 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func CreateV2UpgradeHandler(
cfg module.Configurator,
keepers *app.TerpApp,
) upgradetypes.UpgradeHandler {

return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
// transfer module consensus version has been bumped to 2
// the above is https://github.com/cosmos/ibc-go/blob/v5.1.0/docs/migrations/v3-to-v4.md
Expand Down Expand Up @@ -49,5 +48,4 @@ func CreateV2UpgradeHandler(

return versionMap, err
}

}
4 changes: 2 additions & 2 deletions x/feeshare/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (q Querier) Params(

// DeployerFeeShares returns all contracts that have been registered for fee
// distribution by a given deployer
func (q Querier) DeployerFeeShares( // nolint: dupl
func (q Querier) DeployerFeeShares( //nolint: dupl
c context.Context,
req *types.QueryDeployerFeeSharesRequest,
) (*types.QueryDeployerFeeSharesResponse, error) {
Expand Down Expand Up @@ -140,7 +140,7 @@ func (q Querier) DeployerFeeShares( // nolint: dupl
}

// WithdrawerFeeShares returns all fees for a given withdraw address
func (q Querier) WithdrawerFeeShares( // nolint: dupl
func (q Querier) WithdrawerFeeShares( //nolint: dupl
c context.Context,
req *types.QueryWithdrawerFeeSharesRequest,
) (*types.QueryWithdrawerFeeSharesResponse, error) {
Expand Down

0 comments on commit a62b836

Please sign in to comment.