cosmos-sdk/proto/ibc/localhost/localhost.proto

20 lines
592 B
Protocol Buffer

syntax = "proto3";
package ibc.localhost;
import "gogoproto/gogo.proto";
import "ibc/client/client.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/09-localhost/types";
// ClientState defines a loopback (localhost) client. It requires (read-only)
// access to keys outside the client prefix.
message ClientState {
option (gogoproto.goproto_getters) = false;
// client id
string id = 1;
// self chain ID
string chain_id = 2 [(gogoproto.moretags) = "yaml:\"chain_id\""];
// self latest block height
ibc.client.Height height = 3 [(gogoproto.nullable) = false];
}