mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Update Artifacts (auto-generated) (#1596)
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c9ef7168a1
commit
4e53d5a4d5
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2933,7 +2933,7 @@ pub mod api {
|
|||||||
#[doc = ""]
|
#[doc = ""]
|
||||||
#[doc = " Note this function will use on-chain MMR root hash and check if the proof matches the hash."]
|
#[doc = " Note this function will use on-chain MMR root hash and check if the proof matches the hash."]
|
||||||
#[doc = " Note, the leaves should be sorted such that corresponding leaves and leaf indices have the"]
|
#[doc = " Note, the leaves should be sorted such that corresponding leaves and leaf indices have the"]
|
||||||
#[doc = " same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]"]
|
#[doc = " same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]"]
|
||||||
pub fn verify_proof(
|
pub fn verify_proof(
|
||||||
&self,
|
&self,
|
||||||
leaves: types::verify_proof::Leaves,
|
leaves: types::verify_proof::Leaves,
|
||||||
@@ -2960,7 +2960,7 @@ pub mod api {
|
|||||||
#[doc = " proof is verified against given MMR root hash."]
|
#[doc = " proof is verified against given MMR root hash."]
|
||||||
#[doc = ""]
|
#[doc = ""]
|
||||||
#[doc = " Note, the leaves should be sorted such that corresponding leaves and leaf indices have the"]
|
#[doc = " Note, the leaves should be sorted such that corresponding leaves and leaf indices have the"]
|
||||||
#[doc = " same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]"]
|
#[doc = " same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]"]
|
||||||
pub fn verify_proof_stateless(
|
pub fn verify_proof_stateless(
|
||||||
&self,
|
&self,
|
||||||
root: types::verify_proof_stateless::Root,
|
root: types::verify_proof_stateless::Root,
|
||||||
@@ -3050,7 +3050,7 @@ pub mod api {
|
|||||||
::subxt::ext::subxt_core::alloc::vec::Vec<
|
::subxt::ext::subxt_core::alloc::vec::Vec<
|
||||||
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
||||||
>,
|
>,
|
||||||
runtime_types::sp_mmr_primitives::Proof<
|
runtime_types::sp_mmr_primitives::LeafProof<
|
||||||
::subxt::ext::subxt_core::utils::H256,
|
::subxt::ext::subxt_core::utils::H256,
|
||||||
>,
|
>,
|
||||||
),
|
),
|
||||||
@@ -3081,7 +3081,7 @@ pub mod api {
|
|||||||
pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec<
|
pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec<
|
||||||
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
||||||
>;
|
>;
|
||||||
pub type Proof = runtime_types::sp_mmr_primitives::Proof<
|
pub type Proof = runtime_types::sp_mmr_primitives::LeafProof<
|
||||||
::subxt::ext::subxt_core::utils::H256,
|
::subxt::ext::subxt_core::utils::H256,
|
||||||
>;
|
>;
|
||||||
pub mod output {
|
pub mod output {
|
||||||
@@ -3114,7 +3114,7 @@ pub mod api {
|
|||||||
pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec<
|
pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec<
|
||||||
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf,
|
||||||
>;
|
>;
|
||||||
pub type Proof = runtime_types::sp_mmr_primitives::Proof<
|
pub type Proof = runtime_types::sp_mmr_primitives::LeafProof<
|
||||||
::subxt::ext::subxt_core::utils::H256,
|
::subxt::ext::subxt_core::utils::H256,
|
||||||
>;
|
>;
|
||||||
pub mod output {
|
pub mod output {
|
||||||
@@ -68006,7 +68006,7 @@ pub mod api {
|
|||||||
# [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)]
|
# [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)]
|
||||||
#[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")]
|
#[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")]
|
||||||
#[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")]
|
#[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")]
|
||||||
pub struct Proof<_0> {
|
pub struct LeafProof<_0> {
|
||||||
pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>,
|
pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>,
|
||||||
pub leaf_count: ::core::primitive::u64,
|
pub leaf_count: ::core::primitive::u64,
|
||||||
pub items: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>,
|
pub items: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>,
|
||||||
|
|||||||
Reference in New Issue
Block a user