Versions in this module Expand all Collapse all v0 v0.43.1 Aug 24, 2021 Changes in this version + const UpgradeInfoFileName + func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + type Keeper struct + func NewKeeper(skipUpgradeHeights map[int64]bool, storeKey sdk.StoreKey, ...) Keeper + func (k Keeper) AppliedPlan(c context.Context, req *types.QueryAppliedPlanRequest) (*types.QueryAppliedPlanResponse, error) + func (k Keeper) ApplyUpgrade(ctx sdk.Context, plan types.Plan) + func (k Keeper) ClearIBCState(ctx sdk.Context, lastHeight int64) + func (k Keeper) ClearUpgradePlan(ctx sdk.Context) + func (k Keeper) CurrentPlan(c context.Context, req *types.QueryCurrentPlanRequest) (*types.QueryCurrentPlanResponse, error) + func (k Keeper) DumpUpgradeInfoToDisk(height int64, p types.Plan) error + func (k Keeper) GetDoneHeight(ctx sdk.Context, name string) int64 + func (k Keeper) GetModuleVersionMap(ctx sdk.Context) module.VersionMap + func (k Keeper) GetModuleVersions(ctx sdk.Context) []*types.ModuleVersion + func (k Keeper) GetUpgradeInfoPath() (string, error) + func (k Keeper) GetUpgradePlan(ctx sdk.Context) (plan types.Plan, havePlan bool) + func (k Keeper) GetUpgradedClient(ctx sdk.Context, height int64) ([]byte, bool) + func (k Keeper) GetUpgradedConsensusState(ctx sdk.Context, lastHeight int64) ([]byte, bool) + func (k Keeper) HasHandler(name string) bool + func (k Keeper) IsSkipHeight(height int64) bool + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) ModuleVersions(c context.Context, req *types.QueryModuleVersionsRequest) (*types.QueryModuleVersionsResponse, error) + func (k Keeper) ReadUpgradeInfoFromDisk() (types.Plan, error) + func (k Keeper) ScheduleUpgrade(ctx sdk.Context, plan types.Plan) error + func (k Keeper) SetModuleVersionMap(ctx sdk.Context, vm module.VersionMap) + func (k Keeper) SetUpgradeHandler(name string, upgradeHandler types.UpgradeHandler) + func (k Keeper) SetUpgradedClient(ctx sdk.Context, planHeight int64, bz []byte) error + func (k Keeper) SetUpgradedConsensusState(ctx sdk.Context, planHeight int64, bz []byte) error + func (k Keeper) UpgradedConsensusState(c context.Context, req *types.QueryUpgradedConsensusStateRequest) (*types.QueryUpgradedConsensusStateResponse, error)