#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClientState {
#[prost(string, tag = "1")]
pub chain_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub trust_level: ::core::option::Option<Fraction>,
#[prost(message, optional, tag = "3")]
pub trusting_period: ::core::option::Option<
::tendermint_proto::google::protobuf::Duration,
>,
#[prost(message, optional, tag = "4")]
pub unbonding_period: ::core::option::Option<
::tendermint_proto::google::protobuf::Duration,
>,
#[prost(message, optional, tag = "5")]
pub max_clock_drift: ::core::option::Option<
::tendermint_proto::google::protobuf::Duration,
>,
#[prost(message, optional, tag = "6")]
pub frozen_height: ::core::option::Option<
super::super::super::core::client::v1::Height,
>,
#[prost(message, optional, tag = "7")]
pub latest_height: ::core::option::Option<
super::super::super::core::client::v1::Height,
>,
#[prost(message, repeated, tag = "8")]
pub proof_specs: ::prost::alloc::vec::Vec<::ics23::ProofSpec>,
#[prost(string, repeated, tag = "9")]
pub upgrade_path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[deprecated]
#[prost(bool, tag = "10")]
pub allow_update_after_expiry: bool,
#[deprecated]
#[prost(bool, tag = "11")]
pub allow_update_after_misbehaviour: bool,
}
impl ::prost::Name for ClientState {
const NAME: &'static str = "ClientState";
const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.lightclients.tendermint.v1.ClientState".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.lightclients.tendermint.v1.ClientState".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConsensusState {
#[prost(message, optional, tag = "1")]
pub timestamp: ::core::option::Option<
::tendermint_proto::google::protobuf::Timestamp,
>,
#[prost(message, optional, tag = "2")]
pub root: ::core::option::Option<
super::super::super::core::commitment::v1::MerkleRoot,
>,
#[prost(bytes = "vec", tag = "3")]
pub next_validators_hash: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for ConsensusState {
const NAME: &'static str = "ConsensusState";
const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.lightclients.tendermint.v1.ConsensusState".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.lightclients.tendermint.v1.ConsensusState".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Misbehaviour {
#[deprecated]
#[prost(string, tag = "1")]
pub client_id: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub header_1: ::core::option::Option<Header>,
#[prost(message, optional, tag = "3")]
pub header_2: ::core::option::Option<Header>,
}
impl ::prost::Name for Misbehaviour {
const NAME: &'static str = "Misbehaviour";
const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.lightclients.tendermint.v1.Misbehaviour".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.lightclients.tendermint.v1.Misbehaviour".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Header {
#[prost(message, optional, tag = "1")]
pub signed_header: ::core::option::Option<::tendermint_proto::types::SignedHeader>,
#[prost(message, optional, tag = "2")]
pub validator_set: ::core::option::Option<::tendermint_proto::types::ValidatorSet>,
#[prost(message, optional, tag = "3")]
pub trusted_height: ::core::option::Option<
super::super::super::core::client::v1::Height,
>,
#[prost(message, optional, tag = "4")]
pub trusted_validators: ::core::option::Option<
::tendermint_proto::types::ValidatorSet,
>,
}
impl ::prost::Name for Header {
const NAME: &'static str = "Header";
const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.lightclients.tendermint.v1.Header".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.lightclients.tendermint.v1.Header".into()
}
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Fraction {
#[prost(uint64, tag = "1")]
pub numerator: u64,
#[prost(uint64, tag = "2")]
pub denominator: u64,
}
impl ::prost::Name for Fraction {
const NAME: &'static str = "Fraction";
const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.lightclients.tendermint.v1.Fraction".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.lightclients.tendermint.v1.Fraction".into()
}
}