github.com/okex/exchain@v1.8.0/libs/ibc-go/proto/ibc/lightclients/localhost/v1/localhost.proto (about)

     1  syntax = "proto3";
     2  
     3  package ibc.lightclients.localhost.v1;
     4  
     5  option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/09-localhost/types";
     6  
     7  import "gogoproto/gogo.proto";
     8  import "ibc/core/client/v1/client.proto";
     9  
    10  // ClientState defines a loopback (localhost) client. It requires (read-only)
    11  // access to keys outside the client prefix.
    12  message ClientState {
    13    option (gogoproto.goproto_getters) = false;
    14    // self chain ID
    15    string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""];
    16    // self latest block height
    17    ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false];
    18  }