github.com/okex/exchain@v1.8.0/libs/ibc-go/proto/ibc/core/channel/v1/genesis.proto (about)

     1  syntax = "proto3";
     2  
     3  package ibc.core.channel.v1;
     4  
     5  option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types";
     6  
     7  import "gogoproto/gogo.proto";
     8  import "ibc/core/channel/v1/channel.proto";
     9  
    10  // GenesisState defines the ibc channel submodule's genesis state.
    11  message GenesisState {
    12    repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false];
    13    repeated PacketState       acknowledgements = 2 [(gogoproto.nullable) = false];
    14    repeated PacketState       commitments      = 3 [(gogoproto.nullable) = false];
    15    repeated PacketState       receipts         = 4 [(gogoproto.nullable) = false];
    16    repeated PacketSequence    send_sequences   = 5
    17        [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""];
    18    repeated PacketSequence recv_sequences = 6
    19        [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""];
    20    repeated PacketSequence ack_sequences = 7
    21        [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""];
    22    // the sequence for the next generated channel identifier
    23    uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""];
    24  }
    25  
    26  // PacketSequence defines the genesis type necessary to retrieve and store
    27  // next send and receive sequences.
    28  message PacketSequence {
    29    string port_id    = 1 [(gogoproto.moretags) = "yaml:\"port_id\""];
    30    string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""];
    31    uint64 sequence   = 3;
    32  }