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

from message cosmos.upgrade.v1beta1.Plan

Hierarchy

Constructors

Properties

height: bigint = protoInt64.zero

The height at which the upgrade must be performed.

from field: int64 height = 3;

info: string = ""

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

from field: string info = 4;

name: string = ""

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.

from field: string name = 1;

time?: Timestamp

Deprecated: 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.

from field: google.protobuf.Timestamp time = 2 [deprecated = true];

upgradedClientState?: Any

Deprecated: 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.

from field: google.protobuf.Any upgraded_client_state = 5 [deprecated = true];

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.upgrade.v1beta1.Plan" = "cosmos.upgrade.v1beta1.Plan"

Methods