mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-13 08:11:06 +00:00
Update documentation and templates for Pezkuwi branding
This commit is contained in:
@@ -25,8 +25,8 @@ mod runtime_tests {
|
||||
constants::{currency::*, *},
|
||||
BlockNumber, Runtime,
|
||||
};
|
||||
use sp_runtime::Perbill;
|
||||
use sp_version::RuntimeVersion;
|
||||
use pezsp_runtime::Perbill;
|
||||
use pezsp_version::RuntimeVersion;
|
||||
use xcm::latest::prelude::BodyId;
|
||||
|
||||
#[test]
|
||||
@@ -62,7 +62,7 @@ mod runtime_tests {
|
||||
MAXIMUM_BLOCK_WEIGHT,
|
||||
Weight::from_parts(
|
||||
pezframe_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND.saturating_div(2),
|
||||
cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64
|
||||
pezcumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64
|
||||
)
|
||||
);
|
||||
|
||||
@@ -71,7 +71,7 @@ mod runtime_tests {
|
||||
MAXIMUM_BLOCK_WEIGHT,
|
||||
Weight::from_parts(
|
||||
pezframe_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2),
|
||||
cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64
|
||||
pezcumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64
|
||||
)
|
||||
);
|
||||
|
||||
@@ -102,9 +102,9 @@ mod runtime_tests {
|
||||
|
||||
assert_eq!(MAX_BLOCK_LENGTH, 5 * 1024 * 1024);
|
||||
|
||||
assert_eq!(<Runtime as pezframe_system::Config>::SS58Prefix::get(), 42);
|
||||
assert_eq!(<Runtime as frame_system::Config>::SS58Prefix::get(), 42);
|
||||
|
||||
assert_eq!(<Runtime as pezframe_system::Config>::MaxConsumers::get(), 16);
|
||||
assert_eq!(<Runtime as frame_system::Config>::MaxConsumers::get(), 16);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -168,14 +168,14 @@ mod runtime_tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn cumulus_pezpallet_teyrchain_system_constants() {
|
||||
fn pezcumulus_pezpallet_teyrchain_system_constants() {
|
||||
assert_eq!(
|
||||
<Runtime as cumulus_pezpallet_teyrchain_system::Config>::ReservedXcmpWeight::get(),
|
||||
<Runtime as pezcumulus_pezpallet_teyrchain_system::Config>::ReservedXcmpWeight::get(),
|
||||
MAXIMUM_BLOCK_WEIGHT.saturating_div(4)
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
<Runtime as cumulus_pezpallet_teyrchain_system::Config>::ReservedDmpWeight::get(),
|
||||
<Runtime as pezcumulus_pezpallet_teyrchain_system::Config>::ReservedDmpWeight::get(),
|
||||
MAXIMUM_BLOCK_WEIGHT.saturating_div(4)
|
||||
);
|
||||
}
|
||||
@@ -187,9 +187,9 @@ mod runtime_tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn cumulus_pezpallet_xcmp_queue_constants() {
|
||||
fn pezcumulus_pezpallet_xcmp_queue_constants() {
|
||||
assert_eq!(
|
||||
<Runtime as cumulus_pezpallet_xcmp_queue::Config>::MaxInboundSuspended::get(),
|
||||
<Runtime as pezcumulus_pezpallet_xcmp_queue::Config>::MaxInboundSuspended::get(),
|
||||
1000
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user