Upgrade
The upgrade
module is responsible for handling and coordinating software upgrades. It accomplishes this by providing a BeginBlocker hook that prevents the blockchain state machine from proceeding once a pre-defined upgrade block height has been reached.
For more information, visit https://docs.cosmos.network/main/modules/upgrade/
Message Types
Msg
defines the upgrade Msg service.
MsgSoftwareUpgrade
MsgSoftwareUpgrade
is the Msg/SoftwareUpgrade
request type.
Since: cosmos-sdk 0.46
MsgSoftwareUpgradeResponse
MsgSoftwareUpgradeResponse
is the Msg/SoftwareUpgrade
response type.
Since: cosmos-sdk 0.46
MsgCancelUpgrade
MsgCancelUpgrade
is the Msg/CancelUpgrade
request type.
Since: cosmos-sdk 0.46
MsgCancelUpgradeResponse
MsgCancelUpgradeResponse
is the Msg/CancelUpgrade
response type.
Since: cosmos-sdk 0.46
Queries
Query
defines the gRPC upgrade querier service.
QueryCurrentPlanRequest
QueryCurrentPlanRequest
is the request type for the Query/CurrentPlan
RPC method.
QueryCurrentPlanResponse
QueryCurrentPlanResponse
is the response type for the Query/CurrentPlan
RPC method.
QueryAppliedPlanRequest
QueryAppliedPlanRequest
is the request type for the Query/AppliedPlan
RPC method.
QueryAppliedPlanResponse
QueryAppliedPlanResponse
is the response type for the Query/AppliedPlan
RPC method.
QueryUpgradedConsensusStateRequest
QueryUpgradedConsensusStateRequest
is the request type for the Query/UpgradedConsensusState
RPC method.
QueryUpgradedConsensusStateResponse
QueryUpgradedConsensusStateResponse
is the response type for the Query/UpgradedConsensusState
RPC method.
QueryModuleVersionsRequest
QueryModuleVersionsRequest
is the request type for the Query/ModuleVersions
RPC method.
Since: cosmos-sdk 0.43
QueryModuleVersionsResponse
QueryModuleVersionsResponse
is the response type for the Query/ModuleVersions
RPC method.
Since: cosmos-sdk 0.43
QueryAuthorityRequest
QueryAuthorityRequest
is the request type for Query/Authority
.
Since: cosmos-sdk 0.46
QueryAuthorityResponse
QueryAuthorityResponse
is the response type for Query/Authority
.
Since: cosmos-sdk 0.46