0g-chain/third_party/proto/ibc/lightclients/localhost/v1/localhost.proto

19 lines
605 B
Protocol Buffer
Raw Normal View History

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