SnapshotItem is an item contained in a rootmulti.Store snapshot.

Since: cosmos-sdk 0.46

from message cosmos.base.snapshots.v1beta1.SnapshotItem

Hierarchy

Constructors

Properties

item:
    | {
        case: "store";
        value: proto.cosmos.base.snapshots.v1beta1.SnapshotStoreItem;
    }
    | {
        case: "iavl";
        value: proto.cosmos.base.snapshots.v1beta1.SnapshotIAVLItem;
    }
    | {
        case: "extension";
        value: SnapshotExtensionMeta;
    }
    | {
        case: "extensionPayload";
        value: SnapshotExtensionPayload;
    }
    | {
        case: "kv";
        value: SnapshotKVItem;
    }
    | {
        case: "schema";
        value: SnapshotSchema;
    }
    | {
        case: undefined;
        value?: undefined;
    } = ...

item is the specific type of snapshot item.

Type declaration

Type declaration

Type declaration

  • case: "extension"
  • value: SnapshotExtensionMeta

    from field: cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta extension = 3;

Type declaration

  • case: "extensionPayload"
  • value: SnapshotExtensionPayload

    from field: cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload extension_payload = 4;

Type declaration

  • case: "kv"
  • value: SnapshotKVItem

    from field: cosmos.base.snapshots.v1beta1.SnapshotKVItem kv = 5 [deprecated = true];

Type declaration

  • case: "schema"
  • value: SnapshotSchema

    from field: cosmos.base.snapshots.v1beta1.SnapshotSchema schema = 6 [deprecated = true];

from oneof cosmos.base.snapshots.v1beta1.SnapshotItem.item

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.base.snapshots.v1beta1.SnapshotItem" = "cosmos.base.snapshots.v1beta1.SnapshotItem"

Methods