22 lines
783 B
Protocol Buffer
22 lines
783 B
Protocol Buffer
syntax = "proto3";
|
|
package ibc.client;
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/02-client/types";
|
|
|
|
import "ibc/client/client.proto";
|
|
import "gogoproto/gogo.proto";
|
|
|
|
// GenesisState defines the ibc client submodule's genesis state.
|
|
message GenesisState {
|
|
// client states with their corresponding identifiers
|
|
repeated IdentifiedClientState clients = 1 [(gogoproto.nullable) = false];
|
|
// consensus states from each client
|
|
repeated ClientConsensusStates clients_consensus = 2 [
|
|
(gogoproto.nullable) = false,
|
|
(gogoproto.castrepeated) = "ClientsConsensusStates",
|
|
(gogoproto.moretags) = "yaml:\"clients_consensus\""
|
|
];
|
|
// create localhost on initialization
|
|
bool create_localhost = 3 [(gogoproto.moretags) = "yaml:\"create_localhost\""];
|
|
}
|