chore: make params module optional in app wiring (#16269)

This commit is contained in:
Julien Robert 2023-05-24 13:54:07 +02:00 committed by GitHub
parent 9d45ed4d4b
commit 166be3766b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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