diff --git a/app/app.go b/app/app.go index 117cc188..e7e9f306 100644 --- a/app/app.go +++ b/app/app.go @@ -357,7 +357,6 @@ func New( appCodec, keys[banktypes.StoreKey], app.AccountKeeper, - app.GetSubspace(banktypes.ModuleName), app.BlockedModuleAccountAddrs(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) diff --git a/custom/bank/keeper/keeper.go b/custom/bank/keeper/keeper.go index d4f27b24..58c48e68 100644 --- a/custom/bank/keeper/keeper.go +++ b/custom/bank/keeper/keeper.go @@ -9,7 +9,6 @@ import ( accountkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -33,7 +32,6 @@ func NewBaseKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ak accountkeeper.AccountKeeper, - paramSpace paramtypes.Subspace, blockedAddrs map[string]bool, authority string, ) Keeper { diff --git a/x/alliance/keeper/hooks.go b/x/alliance/keeper/hooks.go index 60774e2a..872f8476 100644 --- a/x/alliance/keeper/hooks.go +++ b/x/alliance/keeper/hooks.go @@ -60,9 +60,9 @@ func (h Hooks) BeforeValidatorSlashed(ctx sdk.Context, valAddr sdk.ValAddress, f return nil } -func (h Hooks) AfterValidatorSlashed(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress, fraction sdk.Dec) { +func (h Hooks) AfterValidatorSlashed(_ sdk.Context, _ sdk.ConsAddress, _ sdk.ValAddress, _ sdk.Dec) { } -func (h Hooks) AfterUnbondingInitiated(ctx sdk.Context, id uint64) error { +func (h Hooks) AfterUnbondingInitiated(_ sdk.Context, _ uint64) error { return nil } diff --git a/x/alliance/module.go b/x/alliance/module.go index 67a44dee..31dddf48 100644 --- a/x/alliance/module.go +++ b/x/alliance/module.go @@ -135,7 +135,7 @@ func (a AppModule) GenerateGenesisState(simState *module.SimulationState) { simulation2.RandomizedGenesisState(simState) } -func (a AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalMsg { +func (a AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { return nil }