Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Upgrade_0_4_0 = Upgrade{ UpgradeName: "v0.4.0", CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { return m.RunMigrations(ctx, c, vm) } }, StoreUpgrades: store.StoreUpgrades{}, }
View Source
var Upgrade_0_4_3 = Upgrade{ UpgradeName: "v0.4.3", CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { return m.RunMigrations(ctx, c, vm) } }, StoreUpgrades: store.StoreUpgrades{}, }
View Source
var Upgrade_0_4_4 = Upgrade{ UpgradeName: "v0.4.4", CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { return m.RunMigrations(ctx, c, vm) } }, StoreUpgrades: store.StoreUpgrades{}, }
View Source
var Upgrade_0_4_5 = Upgrade{ UpgradeName: "v0.4.5", CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { return m.RunMigrations(ctx, c, vm) } }, StoreUpgrades: store.StoreUpgrades{}, }
Functions ¶
This section is empty.
Types ¶
type BaseAppParamManager ¶
type BaseAppParamManager interface { GetConsensusParams(ctx sdk.Context) *abci.ConsensusParams StoreConsensusParams(ctx sdk.Context, cp *abci.ConsensusParams) }
type Upgrade ¶
type Upgrade struct { // Upgrade version name. UpgradeName string CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, *keepers.LavaKeepers) upgradetypes.UpgradeHandler StoreUpgrades store.StoreUpgrades }
Click to show internal directories.
Click to hide internal directories.