2020-08-07 01:33:47 -07:00
|
|
|
syntax = "proto3";
|
2020-10-01 12:23:29 -07:00
|
|
|
package ibc.core.client.v1;
|
2020-08-07 01:33:47 -07:00
|
|
|
|
2020-10-02 02:03:02 -07:00
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types";
|
2020-08-07 01:33:47 -07:00
|
|
|
|
2020-10-01 12:23:29 -07:00
|
|
|
import "ibc/core/client/v1/client.proto";
|
2020-08-07 01:33:47 -07:00
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
// GenesisState defines the ibc client submodule's genesis state.
|
|
|
|
message GenesisState {
|
2020-08-20 07:23:19 -07:00
|
|
|
// client states with their corresponding identifiers
|
2020-11-11 03:07:29 -08:00
|
|
|
repeated IdentifiedClientState clients = 1 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.castrepeated) = "IdentifiedClientStates"
|
|
|
|
];
|
2020-08-20 07:23:19 -07:00
|
|
|
// consensus states from each client
|
2020-08-07 01:33:47 -07:00
|
|
|
repeated ClientConsensusStates clients_consensus = 2 [
|
2020-08-20 07:23:19 -07:00
|
|
|
(gogoproto.nullable) = false,
|
2020-08-07 01:33:47 -07:00
|
|
|
(gogoproto.castrepeated) = "ClientsConsensusStates",
|
2020-08-20 07:23:19 -07:00
|
|
|
(gogoproto.moretags) = "yaml:\"clients_consensus\""
|
2020-08-07 01:33:47 -07:00
|
|
|
];
|
2020-11-11 03:07:29 -08:00
|
|
|
Params params = 3 [ (gogoproto.nullable) = false];
|
2020-08-20 07:23:19 -07:00
|
|
|
// create localhost on initialization
|
2020-11-11 03:07:29 -08:00
|
|
|
bool create_localhost = 4 [(gogoproto.moretags) = "yaml:\"create_localhost\""];
|
2020-08-07 01:33:47 -07:00
|
|
|
}
|