feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "snowbridge-pallet-outbound-queue-v2"
|
||||
name = "snowbridge-pezpallet-outbound-queue-v2"
|
||||
description = "Snowbridge Outbound Queue Pallet V2"
|
||||
version = "0.2.0"
|
||||
authors = ["Snowfork <contact@snowfork.com>"]
|
||||
@@ -25,14 +25,14 @@ hex-literal = { workspace = true, default-features = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { features = ["alloc", "derive"], workspace = true }
|
||||
|
||||
frame-benchmarking = { optional = true, workspace = true }
|
||||
frame-support = { workspace = true }
|
||||
frame-system = { workspace = true }
|
||||
sp-arithmetic = { workspace = true }
|
||||
sp-core = { workspace = true }
|
||||
sp-io = { workspace = true }
|
||||
sp-runtime = { workspace = true }
|
||||
sp-std = { workspace = true }
|
||||
pezframe-benchmarking = { optional = true, workspace = true }
|
||||
pezframe-support = { workspace = true }
|
||||
pezframe-system = { workspace = true }
|
||||
pezsp-arithmetic = { workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
bp-relayers = { workspace = true }
|
||||
|
||||
@@ -47,7 +47,7 @@ xcm-builder = { workspace = true }
|
||||
xcm-executor = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-message-queue = { workspace = true }
|
||||
pezpallet-message-queue = { workspace = true }
|
||||
snowbridge-test-utils = { workspace = true }
|
||||
|
||||
[features]
|
||||
@@ -57,10 +57,10 @@ std = [
|
||||
"bp-relayers/std",
|
||||
"codec/std",
|
||||
"ethabi/std",
|
||||
"frame-benchmarking/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"pallet-message-queue/std",
|
||||
"pezframe-benchmarking/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezpallet-message-queue/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"snowbridge-beacon-primitives/std",
|
||||
@@ -68,37 +68,37 @@ std = [
|
||||
"snowbridge-merkle-tree/std",
|
||||
"snowbridge-outbound-queue-primitives/std",
|
||||
"snowbridge-verification-primitives/std",
|
||||
"sp-arithmetic/std",
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
"xcm-builder/std",
|
||||
"xcm-executor/std",
|
||||
"xcm/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bp-relayers/runtime-benchmarks",
|
||||
"frame-benchmarking",
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"pallet-message-queue/runtime-benchmarks",
|
||||
"pezframe-benchmarking",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-message-queue/runtime-benchmarks",
|
||||
"snowbridge-beacon-primitives/runtime-benchmarks",
|
||||
"snowbridge-core/runtime-benchmarks",
|
||||
"snowbridge-merkle-tree/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-primitives/runtime-benchmarks",
|
||||
"snowbridge-test-utils/runtime-benchmarks",
|
||||
"snowbridge-verification-primitives/runtime-benchmarks",
|
||||
"sp-io/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"xcm-builder/runtime-benchmarks",
|
||||
"xcm-executor/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame-support/try-runtime",
|
||||
"frame-system/try-runtime",
|
||||
"pallet-message-queue/try-runtime",
|
||||
"sp-runtime/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezpallet-message-queue/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -19,24 +19,24 @@ exclude-from-umbrella = true
|
||||
|
||||
[dependencies]
|
||||
codec = { features = ["derive"], workspace = true }
|
||||
frame-support = { workspace = true }
|
||||
pezframe-support = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
snowbridge-merkle-tree = { workspace = true }
|
||||
sp-api = { workspace = true }
|
||||
sp-std = { workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-support/std",
|
||||
"pezframe-support/std",
|
||||
"scale-info/std",
|
||||
"snowbridge-merkle-tree/std",
|
||||
"sp-api/std",
|
||||
"sp-std/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-std/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame-support/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"snowbridge-merkle-tree/runtime-benchmarks",
|
||||
"sp-api/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
//! * `prove_message`: Generate a merkle proof for a committed message
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
use frame_support::traits::tokens::Balance as BalanceT;
|
||||
use pezframe_support::traits::tokens::Balance as BalanceT;
|
||||
use snowbridge_merkle_tree::MerkleProof;
|
||||
|
||||
sp_api::decl_runtime_apis! {
|
||||
pezsp_api::decl_runtime_apis! {
|
||||
pub trait OutboundQueueV2Api<Balance> where Balance: BalanceT
|
||||
{
|
||||
/// Generate a merkle proof for a committed message identified by `leaf_index`.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//! Helpers for implementing runtime api
|
||||
|
||||
use crate::{Config, MessageLeaves};
|
||||
use frame_support::storage::StorageStreamIter;
|
||||
use pezframe_support::storage::StorageStreamIter;
|
||||
use snowbridge_merkle_tree::{merkle_proof, MerkleProof};
|
||||
|
||||
pub fn prove_message<T>(leaf_index: u64) -> Option<MerkleProof>
|
||||
|
||||
@@ -4,11 +4,11 @@ use super::*;
|
||||
|
||||
use crate::fixture::make_submit_delivery_receipt_message;
|
||||
use codec::Encode;
|
||||
use frame_benchmarking::v2::*;
|
||||
use frame_support::{traits::Hooks, BoundedVec};
|
||||
use frame_system::RawOrigin;
|
||||
use pezframe_benchmarking::v2::*;
|
||||
use pezframe_support::{traits::Hooks, BoundedVec};
|
||||
use pezframe_system::RawOrigin;
|
||||
use snowbridge_outbound_queue_primitives::v2::{Command, Initializer, Message};
|
||||
use sp_core::{H160, H256};
|
||||
use pezsp_core::{H160, H256};
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::Pallet as OutboundQueue;
|
||||
@@ -16,11 +16,11 @@ use crate::Pallet as OutboundQueue;
|
||||
#[benchmarks(
|
||||
where
|
||||
<T as Config>::MaxMessagePayloadSize: Get<u32>,
|
||||
<T as frame_system::Config>::AccountId: From<[u8; 32]>,
|
||||
<T as pezframe_system::Config>::AccountId: From<[u8; 32]>,
|
||||
)]
|
||||
mod benchmarks {
|
||||
use super::*;
|
||||
use frame_support::assert_ok;
|
||||
use pezframe_support::assert_ok;
|
||||
|
||||
/// Build `Upgrade` message with `MaxMessagePayloadSize`, in the worst-case.
|
||||
fn build_message<T: Config>() -> (Message, OutboundMessage) {
|
||||
@@ -163,7 +163,7 @@ mod benchmarks {
|
||||
let order = PendingOrder {
|
||||
nonce: receipt.nonce,
|
||||
fee: 0,
|
||||
block_number: frame_system::Pallet::<T>::current_block_number(),
|
||||
block_number: pezframe_system::Pallet::<T>::current_block_number(),
|
||||
};
|
||||
<PendingOrders<T>>::insert(receipt.nonce, order);
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ use snowbridge_beacon_primitives::{
|
||||
types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader,
|
||||
};
|
||||
use snowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof};
|
||||
use sp_core::U256;
|
||||
use sp_std::vec;
|
||||
use pezsp_core::U256;
|
||||
use pezsp_std::vec;
|
||||
|
||||
pub fn make_submit_delivery_receipt_message() -> EventFixture {
|
||||
EventFixture {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//! # Overview
|
||||
//!
|
||||
//! Messages come either from sibling teyrchains via XCM, or BridgeHub itself
|
||||
//! via the `snowbridge-pallet-system-v2`:
|
||||
//! via the `snowbridge-pezpallet-system-v2`:
|
||||
//!
|
||||
//! 1. `snowbridge_outbound_queue_primitives::v2::EthereumBlobExporter::deliver`
|
||||
//! 2. `snowbridge_pallet_system_v2::Pallet::send`
|
||||
@@ -17,7 +17,7 @@
|
||||
//! [`snowbridge_outbound_queue_primitives::v2::SendMessage::deliver`]
|
||||
//! 3. The underlying message queue is implemented by [`Config::MessageQueue`]
|
||||
//! 4. The message queue delivers messages to this pallet via the implementation for
|
||||
//! [`frame_support::traits::ProcessMessage::process_message`]
|
||||
//! [`pezframe_support::traits::ProcessMessage::process_message`]
|
||||
//! 5. The message is processed in `Pallet::do_process_message`:
|
||||
//! a. Convert to `OutboundMessage`, and stored into the `Messages` vector storage
|
||||
//! b. ABI-encode the `OutboundMessage` and store the committed Keccak256 hash in `MessageLeaves`
|
||||
@@ -73,7 +73,7 @@ use alloy_core::{
|
||||
};
|
||||
use bp_relayers::RewardLedger;
|
||||
use codec::{Decode, FullCodec};
|
||||
use frame_support::{
|
||||
use pezframe_support::{
|
||||
storage::StorageStreamIter,
|
||||
traits::{tokens::Balance, EnqueueMessage, Get, ProcessMessageError},
|
||||
weights::{Weight, WeightToFee},
|
||||
@@ -91,12 +91,12 @@ use snowbridge_outbound_queue_primitives::{
|
||||
},
|
||||
EventProof, VerificationError, Verifier,
|
||||
};
|
||||
use sp_core::{H160, H256};
|
||||
use sp_runtime::{
|
||||
use pezsp_core::{H160, H256};
|
||||
use pezsp_runtime::{
|
||||
traits::{BlockNumberProvider, Debug, Hash},
|
||||
DigestItem,
|
||||
};
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_std::prelude::*;
|
||||
pub use types::{OnNewCommitment, PendingOrder, ProcessMessageOriginOf};
|
||||
pub use weights::WeightInfo;
|
||||
use xcm::prelude::NetworkId;
|
||||
@@ -106,19 +106,19 @@ use snowbridge_beacon_primitives::BeaconHeader;
|
||||
|
||||
pub use pallet::*;
|
||||
|
||||
#[frame_support::pallet]
|
||||
#[pezframe_support::pallet]
|
||||
pub mod pallet {
|
||||
use super::*;
|
||||
use frame_support::pallet_prelude::*;
|
||||
use frame_system::pallet_prelude::*;
|
||||
use pezframe_support::pezpallet_prelude::*;
|
||||
use pezframe_system::pezpallet_prelude::*;
|
||||
|
||||
#[pallet::pallet]
|
||||
pub struct Pallet<T>(_);
|
||||
|
||||
#[pallet::config]
|
||||
pub trait Config: frame_system::Config {
|
||||
pub trait Config: pezframe_system::Config {
|
||||
#[allow(deprecated)]
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
|
||||
type Hashing: Hash<Output = H256>;
|
||||
|
||||
@@ -248,7 +248,7 @@ pub mod pallet {
|
||||
/// Is never read in the runtime, only by offchain message relayers.
|
||||
/// Because of this, it will never go into the PoV of a block.
|
||||
///
|
||||
/// Inspired by the `frame_system::Pallet::Events` storage value
|
||||
/// Inspired by the `pezframe_system::Pallet::Events` storage value
|
||||
#[pallet::storage]
|
||||
#[pallet::unbounded]
|
||||
pub type Messages<T: Config> = StorageValue<_, Vec<OutboundMessage>, ValueQuery>;
|
||||
@@ -293,7 +293,7 @@ pub mod pallet {
|
||||
#[pallet::call]
|
||||
impl<T: Config> Pallet<T>
|
||||
where
|
||||
<T as frame_system::Config>::AccountId: From<[u8; 32]>,
|
||||
<T as pezframe_system::Config>::AccountId: From<[u8; 32]>,
|
||||
{
|
||||
#[pallet::call_index(1)]
|
||||
#[pallet::weight(T::WeightInfo::submit_delivery_receipt())]
|
||||
@@ -302,7 +302,7 @@ pub mod pallet {
|
||||
event: Box<EventProof>,
|
||||
) -> DispatchResult
|
||||
where
|
||||
<T as frame_system::Config>::AccountId: From<[u8; 32]>,
|
||||
<T as pezframe_system::Config>::AccountId: From<[u8; 32]>,
|
||||
{
|
||||
let relayer = ensure_signed(origin)?;
|
||||
|
||||
@@ -331,7 +331,7 @@ pub mod pallet {
|
||||
let digest_item: DigestItem = SnowbridgeDigestItem::SnowbridgeV2(root).into();
|
||||
|
||||
// Insert merkle root into the header digest
|
||||
<frame_system::Pallet<T>>::deposit_log(digest_item);
|
||||
<pezframe_system::Pallet<T>>::deposit_log(digest_item);
|
||||
|
||||
T::OnNewCommitment::on_new_commitment(root);
|
||||
|
||||
@@ -431,7 +431,7 @@ pub mod pallet {
|
||||
let order = PendingOrder {
|
||||
nonce,
|
||||
fee,
|
||||
block_number: frame_system::Pallet::<T>::current_block_number(),
|
||||
block_number: pezframe_system::Pallet::<T>::current_block_number(),
|
||||
};
|
||||
<PendingOrders<T>>::insert(nonce, order);
|
||||
|
||||
@@ -444,11 +444,11 @@ pub mod pallet {
|
||||
|
||||
/// Process a delivery receipt from a relayer, to allocate the relayer reward.
|
||||
pub fn process_delivery_receipt(
|
||||
relayer: <T as frame_system::Config>::AccountId,
|
||||
relayer: <T as pezframe_system::Config>::AccountId,
|
||||
receipt: DeliveryReceipt,
|
||||
) -> DispatchResult
|
||||
where
|
||||
<T as frame_system::Config>::AccountId: From<[u8; 32]>,
|
||||
<T as pezframe_system::Config>::AccountId: From<[u8; 32]>,
|
||||
{
|
||||
// Verify that the message was submitted from the known Gateway contract
|
||||
ensure!(T::GatewayAddress::get() == receipt.gateway, Error::<T>::InvalidGateway);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use super::*;
|
||||
|
||||
use frame_support::{
|
||||
use pezframe_support::{
|
||||
derive_impl, parameter_types,
|
||||
traits::{Everything, Hooks},
|
||||
weights::IdentityFee,
|
||||
@@ -15,29 +15,29 @@ use scale_info::TypeInfo;
|
||||
use snowbridge_core::{AgentId, AgentIdOf, ChannelId, ParaId};
|
||||
use snowbridge_outbound_queue_primitives::{v2::*, Log, Proof, VerificationError, Verifier};
|
||||
use snowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger};
|
||||
use sp_core::{ConstU32, H160, H256};
|
||||
use sp_runtime::{
|
||||
use pezsp_core::{ConstU32, H160, H256};
|
||||
use pezsp_runtime::{
|
||||
traits::{BlakeTwo256, IdentityLookup, Keccak256},
|
||||
AccountId32, BuildStorage,
|
||||
};
|
||||
use sp_std::marker::PhantomData;
|
||||
use pezsp_std::marker::PhantomData;
|
||||
use xcm::prelude::Here;
|
||||
use xcm_executor::traits::ConvertLocation;
|
||||
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
type Block = pezframe_system::mocking::MockBlock<Test>;
|
||||
type AccountId = AccountId32;
|
||||
|
||||
frame_support::construct_runtime!(
|
||||
pezframe_support::construct_runtime!(
|
||||
pub enum Test
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Event<T>},
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>},
|
||||
System: pezframe_system::{Pallet, Call, Storage, Event<T>},
|
||||
MessageQueue: pezpallet_message_queue::{Pallet, Call, Storage, Event<T>},
|
||||
OutboundQueue: crate::{Pallet, Storage, Event<T>},
|
||||
}
|
||||
);
|
||||
|
||||
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
|
||||
impl frame_system::Config for Test {
|
||||
#[derive_impl(pezframe_system::config_preludes::TestDefaultConfig)]
|
||||
impl pezframe_system::Config for Test {
|
||||
type BaseCallFilter = Everything;
|
||||
type RuntimeOrigin = RuntimeOrigin;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
@@ -58,7 +58,7 @@ parameter_types! {
|
||||
pub static ServiceWeight: Option<Weight> = Some(Weight::from_parts(100, 100));
|
||||
}
|
||||
|
||||
impl pallet_message_queue::Config for Test {
|
||||
impl pezpallet_message_queue::Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type WeightInfo = ();
|
||||
type MessageProcessor = OutboundQueue;
|
||||
@@ -139,9 +139,9 @@ fn setup() {
|
||||
System::set_block_number(1);
|
||||
}
|
||||
|
||||
pub fn new_tester() -> sp_io::TestExternalities {
|
||||
let storage = frame_system::GenesisConfig::<Test>::default().build_storage().unwrap();
|
||||
let mut ext: sp_io::TestExternalities = storage.into();
|
||||
pub fn new_tester() -> pezsp_io::TestExternalities {
|
||||
let storage = pezframe_system::GenesisConfig::<Test>::default().build_storage().unwrap();
|
||||
let mut ext: pezsp_io::TestExternalities = storage.into();
|
||||
ext.execute_with(setup);
|
||||
ext
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
//! Implementation for [`frame_support::traits::ProcessMessage`]
|
||||
//! Implementation for [`pezframe_support::traits::ProcessMessage`]
|
||||
use super::*;
|
||||
use crate::weights::WeightInfo;
|
||||
use frame_support::{
|
||||
use pezframe_support::{
|
||||
traits::{ProcessMessage, ProcessMessageError},
|
||||
weights::WeightMeter,
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//! Implementation for [`snowbridge_outbound_queue_primitives::v2::SendMessage`]
|
||||
use super::*;
|
||||
use codec::Encode;
|
||||
use frame_support::{
|
||||
use pezframe_support::{
|
||||
ensure,
|
||||
traits::{EnqueueMessage, Get},
|
||||
};
|
||||
@@ -11,8 +11,8 @@ use snowbridge_outbound_queue_primitives::{
|
||||
v2::{Message, SendMessage},
|
||||
SendError,
|
||||
};
|
||||
use sp_core::H256;
|
||||
use sp_runtime::BoundedVec;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::BoundedVec;
|
||||
|
||||
impl<T> SendMessage for Pallet<T>
|
||||
where
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::{
|
||||
};
|
||||
use alloy_core::primitives::FixedBytes;
|
||||
use codec::Encode;
|
||||
use frame_support::{
|
||||
use pezframe_support::{
|
||||
assert_err, assert_noop, assert_ok,
|
||||
traits::{Hooks, ProcessMessage, ProcessMessageError, QueueFootprintQuery},
|
||||
weights::WeightMeter,
|
||||
@@ -18,7 +18,7 @@ use snowbridge_outbound_queue_primitives::{
|
||||
v2::{abi::OutboundMessageWrapper, Command, Initializer, SendMessage},
|
||||
SendError,
|
||||
};
|
||||
use sp_core::{hexdisplay::HexDisplay, H256};
|
||||
use pezsp_core::{hexdisplay::HexDisplay, H256};
|
||||
|
||||
#[test]
|
||||
fn submit_messages_and_commit() {
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use super::Pallet;
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use frame_support::traits::ProcessMessage;
|
||||
use pezframe_support::traits::ProcessMessage;
|
||||
use scale_info::TypeInfo;
|
||||
pub use snowbridge_merkle_tree::MerkleProof;
|
||||
use sp_core::H256;
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use pezsp_std::prelude::*;
|
||||
|
||||
pub type ProcessMessageOriginOf<T> = <Pallet<T> as ProcessMessage>::Origin;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
//! Autogenerated weights for `snowbridge-pallet-outbound-queue`
|
||||
//! Autogenerated weights for `snowbridge-pezpallet-outbound-queue`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-10-19, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `192.168.1.7`, CPU: `<UNKNOWN>`
|
||||
@@ -12,7 +12,7 @@
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=bridge-hub-pezkuwichain-dev
|
||||
// --pallet=snowbridge-pallet-outbound-queue
|
||||
// --pallet=snowbridge-pezpallet-outbound-queue
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -26,10 +26,10 @@
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
||||
use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions needed for `snowbridge-pallet-outbound-queue`.
|
||||
/// Weight functions needed for `snowbridge-pezpallet-outbound-queue`.
|
||||
pub trait WeightInfo {
|
||||
fn do_process_message() -> Weight;
|
||||
fn commit() -> Weight;
|
||||
|
||||
Reference in New Issue
Block a user