mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-27 13:57:55 +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,6 +1,6 @@
|
||||
extern crate alloc;
|
||||
|
||||
use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
|
||||
use pezframe_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
|
||||
use sp_runtime::Perbill;
|
||||
use sp_version::RuntimeVersion;
|
||||
|
||||
@@ -9,7 +9,7 @@ use crate::{apis, types::BlockNumber};
|
||||
pub mod currency {
|
||||
use crate::types::Balance;
|
||||
|
||||
pub const MICROCENTS: Balance = 1_000_000;
|
||||
pub const MICTYRENTS: Balance = 1_000_000;
|
||||
pub const MILLICENTS: Balance = 1_000_000_000;
|
||||
pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent.
|
||||
pub const DOLLARS: Balance = 100 * CENTS;
|
||||
@@ -28,8 +28,8 @@ pub const POLY_DEGREE: u8 = 1;
|
||||
|
||||
#[sp_version::runtime_version]
|
||||
pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: alloc::borrow::Cow::Borrowed("template-parachain"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("template-parachain"),
|
||||
spec_name: alloc::borrow::Cow::Borrowed("template-teyrchain"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("template-teyrchain"),
|
||||
authoring_version: 1,
|
||||
spec_version: 1,
|
||||
impl_version: 0,
|
||||
@@ -40,8 +40,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
|
||||
/// This determines the average expected block time that we are targeting.
|
||||
/// Blocks will be produced at a minimum duration defined by `SLOT_DURATION`.
|
||||
/// `SLOT_DURATION` is picked up by `pallet_timestamp` which is in turn picked
|
||||
/// up by `pallet_aura` to implement `fn slot_duration()`.
|
||||
/// `SLOT_DURATION` is picked up by `pezpallet_timestamp` which is in turn picked
|
||||
/// up by `pezpallet_aura` to implement `fn slot_duration()`.
|
||||
///
|
||||
/// Change this to adjust the block time.
|
||||
#[cfg(feature = "async-backing")]
|
||||
@@ -81,9 +81,9 @@ pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(
|
||||
pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3;
|
||||
#[cfg(not(feature = "async-backing"))]
|
||||
pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1;
|
||||
/// How many parachain blocks are processed by the relay chain per parent.
|
||||
/// How many teyrchain blocks are processed by the relay chain per parent.
|
||||
/// Limits the number of blocks authored per slot.
|
||||
pub const BLOCK_PROCESSING_VELOCITY: u32 = 1;
|
||||
pub const BLOCK_PTYRESSING_VELOCITY: u32 = 1;
|
||||
/// Relay chain slot duration, in milliseconds.
|
||||
pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000;
|
||||
/// Maximum length for a block.
|
||||
|
||||
Reference in New Issue
Block a user