mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-07-24 18:05:42 +00:00
d839cbd92b
Applied global changes: Polkadot->Pezkuwi, Parachain->TeyrChain, pallet->pezpallet, frame->pezframe. Updated authors in Cargo.toml to include Kurdistan Tech Institute and pezkuwichain team. Used Cargo aliases to maintain SDK compatibility while using rebranded names in source code.
13 lines
364 B
Rust
13 lines
364 B
Rust
use pezframe_support::parameter_types;
|
|
use xcm::latest::prelude::*;
|
|
use xcm_builder::FixedWeightBounds;
|
|
|
|
use crate::xcm_mock::teyrchain::RuntimeCall;
|
|
|
|
parameter_types! {
|
|
pub const UnitWeightCost: Weight = Weight::from_parts(1, 1);
|
|
pub const MaxInstructions: u32 = 100;
|
|
}
|
|
|
|
pub type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>;
|