mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 05:37:57 +00:00
Complete terminology rebrand to Pezkuwi ecosystem
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.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#[cfg(not(feature = "tanssi"))]
|
||||
use openzeppelin_pallet_abstractions::ConsensusWeight;
|
||||
use openzeppelin_pezpallet_abstractions::ConsensusWeight;
|
||||
#[cfg(feature = "tanssi")]
|
||||
use openzeppelin_pallet_abstractions::TanssiWeight;
|
||||
use openzeppelin_pallet_abstractions::{
|
||||
use openzeppelin_pezpallet_abstractions::TanssiWeight;
|
||||
use openzeppelin_pezpallet_abstractions::{
|
||||
AssetsWeight, EvmWeight, GovernanceWeight, SystemWeight, XcmWeight,
|
||||
};
|
||||
|
||||
@@ -13,53 +13,53 @@ use crate::{
|
||||
};
|
||||
|
||||
impl SystemWeight for OpenZeppelinRuntime {
|
||||
type Balances = weights::pallet_balances::WeightInfo<Runtime>;
|
||||
type Balances = weights::pezpallet_balances::WeightInfo<Runtime>;
|
||||
type DbWeight = RocksDbWeight;
|
||||
type Multisig = weights::pallet_multisig::WeightInfo<Runtime>;
|
||||
type ParachainSystem = weights::cumulus_pallet_parachain_system::WeightInfo<Runtime>;
|
||||
type Preimage = weights::pallet_preimage::WeightInfo<Runtime>;
|
||||
type Proxy = weights::pallet_proxy::WeightInfo<Runtime>;
|
||||
type Scheduler = weights::pallet_scheduler::WeightInfo<Runtime>;
|
||||
type Timestamp = weights::pallet_timestamp::WeightInfo<Runtime>;
|
||||
type Utility = weights::pallet_utility::WeightInfo<Runtime>;
|
||||
type Multisig = weights::pezpallet_multisig::WeightInfo<Runtime>;
|
||||
type TeyrChainSystem = weights::cumulus_pezpallet_teyrchain_system::WeightInfo<Runtime>;
|
||||
type Preimage = weights::pezpallet_preimage::WeightInfo<Runtime>;
|
||||
type Proxy = weights::pezpallet_proxy::WeightInfo<Runtime>;
|
||||
type Scheduler = weights::pezpallet_scheduler::WeightInfo<Runtime>;
|
||||
type Timestamp = weights::pezpallet_timestamp::WeightInfo<Runtime>;
|
||||
type Utility = weights::pezpallet_utility::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "tanssi"))]
|
||||
impl ConsensusWeight for OpenZeppelinRuntime {
|
||||
type CollatorSelection = weights::pallet_collator_selection::WeightInfo<Runtime>;
|
||||
type Session = weights::pallet_session::WeightInfo<Runtime>;
|
||||
type CollatorSelection = weights::pezpallet_collator_selection::WeightInfo<Runtime>;
|
||||
type Session = weights::pezpallet_session::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl AssetsWeight for OpenZeppelinRuntime {
|
||||
type AssetManager = weights::pallet_asset_manager::WeightInfo<Runtime>;
|
||||
type Assets = weights::pallet_assets::WeightInfo<Runtime>;
|
||||
type AssetManager = weights::pezpallet_asset_manager::WeightInfo<Runtime>;
|
||||
type Assets = weights::pezpallet_assets::WeightInfo<Runtime>;
|
||||
// TODO: fix weight
|
||||
type OracleMembership = ();
|
||||
type OrmlOracle = (); // TODO: fix weight
|
||||
}
|
||||
|
||||
impl GovernanceWeight for OpenZeppelinRuntime {
|
||||
type ConvictionVoting = weights::pallet_conviction_voting::WeightInfo<Runtime>;
|
||||
type Referenda = weights::pallet_referenda::WeightInfo<Runtime>;
|
||||
type Sudo = weights::pallet_sudo::WeightInfo<Runtime>;
|
||||
type Treasury = weights::pallet_treasury::WeightInfo<Runtime>;
|
||||
type Whitelist = weights::pallet_whitelist::WeightInfo<Runtime>;
|
||||
type ConvictionVoting = weights::pezpallet_conviction_voting::WeightInfo<Runtime>;
|
||||
type Referenda = weights::pezpallet_referenda::WeightInfo<Runtime>;
|
||||
type Sudo = weights::pezpallet_sudo::WeightInfo<Runtime>;
|
||||
type Treasury = weights::pezpallet_treasury::WeightInfo<Runtime>;
|
||||
type Whitelist = weights::pezpallet_whitelist::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl XcmWeight for OpenZeppelinRuntime {
|
||||
type MessageQueue = weights::pallet_message_queue::WeightInfo<Runtime>;
|
||||
type Xcm = weights::pallet_xcm::WeightInfo<Runtime>;
|
||||
type XcmTransactor = weights::pallet_xcm_transactor::WeightInfo<Runtime>;
|
||||
type XcmWeightTrader = weights::pallet_xcm_weight_trader::WeightInfo<Runtime>;
|
||||
type XcmpQueue = weights::cumulus_pallet_xcmp_queue::WeightInfo<Runtime>;
|
||||
type MessageQueue = weights::pezpallet_message_queue::WeightInfo<Runtime>;
|
||||
type Xcm = weights::pezpallet_xcm::WeightInfo<Runtime>;
|
||||
type XcmTransactor = weights::pezpallet_xcm_transactor::WeightInfo<Runtime>;
|
||||
type XcmWeightTrader = weights::pezpallet_xcm_weight_trader::WeightInfo<Runtime>;
|
||||
type XcmpQueue = weights::cumulus_pezpallet_xcmp_queue::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl EvmWeight for OpenZeppelinRuntime {
|
||||
type Evm = weights::pallet_evm::WeightInfo<Runtime>;
|
||||
type Evm = weights::pezpallet_evm::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
#[cfg(feature = "tanssi")]
|
||||
impl TanssiWeight for OpenZeppelinRuntime {
|
||||
type AuthorInherent = pallet_author_inherent::weights::SubstrateWeight<Runtime>;
|
||||
type AuthoritiesNoting = pallet_cc_authorities_noting::weights::SubstrateWeight<Runtime>;
|
||||
type AuthorInherent = pezpallet_author_inherent::weights::BizinikiwiWeight<Runtime>;
|
||||
type AuthoritiesNoting = pezpallet_cc_authorities_noting::weights::BizinikiwiWeight<Runtime>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user