#[cfg_attr(
all(feature = "json-schema", feature = "serde"),
derive(::schemars::JsonSchema)
)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerkleRoot {
#[prost(bytes = "vec", tag = "1")]
#[cfg_attr(
all(feature = "json-schema", feature = "serde"),
schemars(with = "String")
)]
pub hash: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for MerkleRoot {
const NAME: &'static str = "MerkleRoot";
const PACKAGE: &'static str = "ibc.core.commitment.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME)
}
}
#[cfg_attr(
all(feature = "json-schema", feature = "serde"),
derive(::schemars::JsonSchema)
)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerklePrefix {
#[prost(bytes = "vec", tag = "1")]
#[cfg_attr(
all(feature = "json-schema", feature = "serde"),
schemars(with = "String")
)]
pub key_prefix: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for MerklePrefix {
const NAME: &'static str = "MerklePrefix";
const PACKAGE: &'static str = "ibc.core.commitment.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerklePath {
#[prost(string, repeated, tag = "1")]
pub key_path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MerklePath {
const NAME: &'static str = "MerklePath";
const PACKAGE: &'static str = "ibc.core.commitment.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerkleProof {
#[prost(message, repeated, tag = "1")]
pub proofs: ::prost::alloc::vec::Vec<
super::super::super::super::cosmos::ics23::v1::CommitmentProof,
>,
}
impl ::prost::Name for MerkleProof {
const NAME: &'static str = "MerkleProof";
const PACKAGE: &'static str = "ibc.core.commitment.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME)
}
}