mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
19 lines
605 B
Protocol Buffer
19 lines
605 B
Protocol Buffer
|
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];
|
||
|
}
|