Versions in this module Expand all Collapse all v0 v0.43.1 Oct 28, 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, name string) error + func (k Keeper) GetDoneHeight(ctx sdk.Context, name string) int64 + 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) (ibcexported.ClientState, error) + func (k Keeper) GetUpgradedConsensusState(ctx sdk.Context, lastHeight int64) (ibcexported.ConsensusState, error) + 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) ReadUpgradeInfoFromDisk() (store.UpgradeInfo, error) + func (k Keeper) ScheduleUpgrade(ctx sdk.Context, plan types.Plan) error + func (k Keeper) SetUpgradeHandler(name string, upgradeHandler types.UpgradeHandler) + func (k Keeper) SetUpgradedClient(ctx sdk.Context, planHeight int64, cs ibcexported.ClientState) error + func (k Keeper) SetUpgradedConsensusState(ctx sdk.Context, planHeight int64, cs ibcexported.ConsensusState) error + func (k Keeper) UpgradedConsensusState(c context.Context, req *types.QueryUpgradedConsensusStateRequest) (*types.QueryUpgradedConsensusStateResponse, error)