chore: make params module optional in app wiring (#16269)
This commit is contained in:
parent
9d45ed4d4b
commit
166be3766b
@ -202,7 +202,7 @@ type ModuleInputs struct {
|
||||
AddressCodec address.Codec
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace exported.Subspace
|
||||
LegacySubspace exported.Subspace `optional:"true"`
|
||||
}
|
||||
|
||||
type ModuleOutputs struct {
|
||||
|
||||
@ -230,7 +230,7 @@ type ModuleInputs struct {
|
||||
StakingKeeper types.StakingKeeper
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace exported.Subspace
|
||||
LegacySubspace exported.Subspace `optional:"true"`
|
||||
}
|
||||
|
||||
type ModuleOutputs struct {
|
||||
|
||||
@ -180,7 +180,7 @@ type ModuleInputs struct {
|
||||
DistributionKeeper govtypes.DistributionKeeper
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace govtypes.ParamSubspace
|
||||
LegacySubspace govtypes.ParamSubspace `optional:"true"`
|
||||
}
|
||||
|
||||
type ModuleOutputs struct {
|
||||
|
||||
@ -225,7 +225,7 @@ type ModuleInputs struct {
|
||||
InflationCalculationFn types.InflationCalculationFn `optional:"true"`
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace exported.Subspace
|
||||
LegacySubspace exported.Subspace `optional:"true"`
|
||||
|
||||
AccountKeeper types.AccountKeeper
|
||||
BankKeeper types.BankKeeper
|
||||
|
||||
@ -238,7 +238,7 @@ type ModuleInputs struct {
|
||||
StakingKeeper types.StakingKeeper
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace exported.Subspace
|
||||
LegacySubspace exported.Subspace `optional:"true"`
|
||||
}
|
||||
|
||||
type ModuleOutputs struct {
|
||||
|
||||
@ -219,7 +219,7 @@ type ModuleInputs struct {
|
||||
Key *store.KVStoreKey
|
||||
|
||||
// LegacySubspace is used solely for migration of x/params managed parameters
|
||||
LegacySubspace exported.Subspace
|
||||
LegacySubspace exported.Subspace `optional:"true"`
|
||||
}
|
||||
|
||||
// Dependency Injection Outputs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user