mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-13 12:51:07 +00:00
Update documentation and templates for Pezkuwi branding
This commit is contained in:
@@ -29,8 +29,8 @@ mod runtime_tests {
|
||||
BlockNumber, Runtime,
|
||||
};
|
||||
use pezframe_support::{pezpallet_prelude::Weight, traits::TypedGet, PezpalletId};
|
||||
use sp_runtime::{Cow, Perbill};
|
||||
use sp_version::RuntimeVersion;
|
||||
use pezsp_runtime::{Cow, Perbill};
|
||||
use pezsp_version::RuntimeVersion;
|
||||
use xcm::latest::prelude::BodyId;
|
||||
|
||||
// RUNTIME_API_VERSIONS constant is generated by a macro and is private.
|
||||
@@ -67,7 +67,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
|
||||
)
|
||||
);
|
||||
|
||||
@@ -76,7 +76,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
|
||||
)
|
||||
);
|
||||
|
||||
@@ -107,9 +107,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]
|
||||
@@ -173,14 +173,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)
|
||||
);
|
||||
}
|
||||
@@ -192,9 +192,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