evmos.proto.autogen.py.cosmos.upgrade.v1beta1

Classes

CancelSoftwareUpgradeProposal(title, description)

CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software upgrade.

ModuleVersion(name, version)

ModuleVersion specifies a module and its consensus version.

MsgBase()

MsgCancelUpgrade(authority)

MsgCancelUpgrade is the Msg/CancelUpgrade request type.

MsgCancelUpgradeResponse()

MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.

MsgSoftwareUpgrade(authority, plan)

MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.

MsgSoftwareUpgradeResponse()

MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.

MsgStub(channel, *[, timeout, deadline, ...])

Plan(name, time, height, info, ...)

Plan specifies information about a planned upgrade and when it should occur.

QueryAppliedPlanRequest(name)

QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC method.

QueryAppliedPlanResponse(height)

QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC method.

QueryAuthorityRequest()

QueryAuthorityRequest is the request type for Query/Authority .

QueryAuthorityResponse(address)

QueryAuthorityResponse is the response type for Query/Authority .

QueryBase()

QueryCurrentPlanRequest()

QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC method.

QueryCurrentPlanResponse(plan)

QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC method.

QueryModuleVersionsRequest(module_name)

QueryModuleVersionsRequest is the request type for the Query/ModuleVersions RPC method.

QueryModuleVersionsResponse(module_versions)

QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method.

QueryStub(channel, *[, timeout, deadline, ...])

QueryUpgradedConsensusStateRequest(last_height)

QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method.

QueryUpgradedConsensusStateResponse(...)

QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.

SoftwareUpgradeProposal(title, description, plan)

SoftwareUpgradeProposal is a gov Content type for initiating a software upgrade.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal(title: str = <object object>, description: str = <object object>)[source]

Bases: Message

CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software upgrade. Deprecated: This legacy proposal is deprecated in favor of Msg-based gov proposals, see MsgCancelUpgrade.

description: str = <object object>

description of the proposal

title: str = <object object>

title of the proposal

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.ModuleVersion(name: str = <object object>, version: int = <object object>)[source]

Bases: Message

ModuleVersion specifies a module and its consensus version. .. versionadded:: 0.43

name: str = <object object>

name of the app module

version: int = <object object>

consensus version of the app module

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgBase[source]

Bases: ServiceBase

async cancel_upgrade(msg_cancel_upgrade: MsgCancelUpgrade) MsgCancelUpgradeResponse[source]
async software_upgrade(msg_software_upgrade: MsgSoftwareUpgrade) MsgSoftwareUpgradeResponse[source]
class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgCancelUpgrade(authority: str = <object object>)[source]

Bases: Message

MsgCancelUpgrade is the Msg/CancelUpgrade request type. .. versionadded:: 0.46

authority: str = <object object>

authority is the address that controls the module (defaults to x/gov unless overwritten).

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse[source]

Bases: Message

MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. .. versionadded:: 0.46

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgSoftwareUpgrade(authority: str = <object object>, plan: ~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan = <object object>)[source]

Bases: Message

MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. .. versionadded:: 0.46

authority: str = <object object>

authority is the address that controls the module (defaults to x/gov unless overwritten).

plan: Plan = <object object>

plan is the upgrade plan.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse[source]

Bases: Message

MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. .. versionadded:: 0.46

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async cancel_upgrade(msg_cancel_upgrade: MsgCancelUpgrade, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgCancelUpgradeResponse[source]
async software_upgrade(msg_software_upgrade: MsgSoftwareUpgrade, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgSoftwareUpgradeResponse[source]
class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan(name: str = <object object>, time: ~datetime.datetime = <object object>, height: int = <object object>, info: str = <object object>, upgraded_client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

Plan specifies information about a planned upgrade and when it should occur.

height: int = <object object>

The height at which the upgrade must be performed.

info: str = <object object>

Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to

name: str = <object object>

Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special “on-upgrade” commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit.

time: datetime = <object object>

Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. :type: Deprecated

upgraded_client_state: Any = <object object>

UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. :type: Deprecated

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryAppliedPlanRequest(name: str = <object object>)[source]

Bases: Message

QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC method.

name: str = <object object>

name is the name of the applied plan to query for.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryAppliedPlanResponse(height: int = <object object>)[source]

Bases: Message

QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC method.

height: int = <object object>

height is the block height at which the plan was applied.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryAuthorityRequest[source]

Bases: Message

QueryAuthorityRequest is the request type for Query/Authority .. versionadded:: 0.46

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryAuthorityResponse(address: str = <object object>)[source]

Bases: Message

QueryAuthorityResponse is the response type for Query/Authority .. versionadded:: 0.46

address: str = <object object>
class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryBase[source]

Bases: ServiceBase

async applied_plan(query_applied_plan_request: QueryAppliedPlanRequest) QueryAppliedPlanResponse[source]
async authority(query_authority_request: QueryAuthorityRequest) QueryAuthorityResponse[source]
async current_plan(query_current_plan_request: QueryCurrentPlanRequest) QueryCurrentPlanResponse[source]
async module_versions(query_module_versions_request: QueryModuleVersionsRequest) QueryModuleVersionsResponse[source]
async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest) QueryUpgradedConsensusStateResponse[source]
class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryCurrentPlanRequest[source]

Bases: Message

QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC method.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryCurrentPlanResponse(plan: ~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan = <object object>)[source]

Bases: Message

QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC method.

plan: Plan = <object object>

plan is the current upgrade plan.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryModuleVersionsRequest(module_name: str = <object object>)[source]

Bases: Message

QueryModuleVersionsRequest is the request type for the Query/ModuleVersions RPC method. .. versionadded:: 0.43

module_name: str = <object object>

module_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryModuleVersionsResponse(module_versions: ~typing.List[~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.ModuleVersion] = <object object>)[source]

Bases: Message

QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method. .. versionadded:: 0.43

module_versions: List[ModuleVersion] = <object object>

module_versions is a list of module names with their consensus versions.

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async applied_plan(query_applied_plan_request: QueryAppliedPlanRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryAppliedPlanResponse[source]
async authority(query_authority_request: QueryAuthorityRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryAuthorityResponse[source]
async current_plan(query_current_plan_request: QueryCurrentPlanRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCurrentPlanResponse[source]
async module_versions(query_module_versions_request: QueryModuleVersionsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryModuleVersionsResponse[source]
async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryUpgradedConsensusStateResponse[source]
class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest(last_height: int = <object object>)[source]

Bases: Message

QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method.

last_height: int = <object object>

last height of the current chain must be sent in request as this is the height under which next consensus state is stored

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse(upgraded_consensus_state: bytes = <object object>)[source]

Bases: Message

QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.

upgraded_consensus_state: bytes = <object object>

cosmos-sdk 0.43 :type: Since

class evmos.proto.autogen.py.cosmos.upgrade.v1beta1.SoftwareUpgradeProposal(title: str = <object object>, description: str = <object object>, plan: ~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan = <object object>)[source]

Bases: Message

SoftwareUpgradeProposal is a gov Content type for initiating a software upgrade. Deprecated: This legacy proposal is deprecated in favor of Msg-based gov proposals, see MsgSoftwareUpgrade.

description: str = <object object>

description of the proposal

plan: Plan = <object object>

plan of the proposal

title: str = <object object>

title of the proposal