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
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/02-client/types";
|
|
|
|
|
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
|
|
|
|
repeated IdentifiedClientState clients = 1 [(gogoproto.nullable) = false];
|
|
|
|
// 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-08-20 07:23:19 -07:00
|
|
|
// create localhost on initialization
|
|
|
|
bool create_localhost = 3 [(gogoproto.moretags) = "yaml:\"create_localhost\""];
|
2020-08-07 01:33:47 -07:00
|
|
|
}
|