fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
[package]
|
||||
name = "pezsnowbridge-outbound-queue-v2-runtime-api"
|
||||
description = "Snowbridge Outbound Queue Runtime API V2"
|
||||
version = "0.2.0"
|
||||
authors = ["Snowfork <contact@snowfork.com>"]
|
||||
edition.workspace = true
|
||||
repository.workspace = true
|
||||
license = "Apache-2.0"
|
||||
categories = ["cryptography::cryptocurrencies"]
|
||||
documentation = "https://docs.rs/pezsnowbridge-outbound-queue-v2-runtime-api"
|
||||
homepage = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[package.metadata.pezkuwi-sdk]
|
||||
exclude-from-umbrella = true
|
||||
|
||||
[dependencies]
|
||||
codec = { features = ["derive"], workspace = true }
|
||||
pezframe-support = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
pezsnowbridge-merkle-tree = { workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
"scale-info/std",
|
||||
"pezsnowbridge-merkle-tree/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-std/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsnowbridge-merkle-tree/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
|
||||
//! Ethereum Outbound Queue V2 Runtime API
|
||||
//!
|
||||
//! * `prove_message`: Generate a merkle proof for a committed message
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
use pezframe_support::traits::tokens::Balance as BalanceT;
|
||||
use pezsnowbridge_merkle_tree::MerkleProof;
|
||||
|
||||
pezsp_api::decl_runtime_apis! {
|
||||
pub trait OutboundQueueV2Api<Balance> where Balance: BalanceT
|
||||
{
|
||||
/// Generate a merkle proof for a committed message identified by `leaf_index`.
|
||||
fn prove_message(leaf_index: u64) -> Option<MerkleProof>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user