snapshot before rebranding
This commit is contained in:
@@ -7,6 +7,7 @@ description = "Common constants for Testnet Teyrchains runtimes"
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/testnet-teyrchains-constants"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -33,24 +34,24 @@ pezcumulus-primitives-core = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"pezcumulus-primitives-core/std",
|
||||
"pezframe-support/std",
|
||||
"pezkuwi-core-primitives/std",
|
||||
"pezkuwichain-runtime-constants?/std",
|
||||
"pezsp-runtime/std",
|
||||
"xcm/std",
|
||||
"zagros-runtime-constants?/std",
|
||||
"pezcumulus-primitives-core/std",
|
||||
"pezframe-support/std",
|
||||
"pezkuwi-core-primitives/std",
|
||||
"pezkuwichain-runtime-constants?/std",
|
||||
"pezsp-runtime/std",
|
||||
"xcm/std",
|
||||
"zagros-runtime-constants?/std",
|
||||
]
|
||||
|
||||
# Test runtimes specific features.
|
||||
pezkuwichain = ["pezkuwichain-runtime-constants"]
|
||||
zagros = ["zagros-runtime-constants"]
|
||||
runtime-benchmarks = [
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezkuwi-core-primitives/runtime-benchmarks",
|
||||
"pezkuwichain-runtime-constants?/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
"zagros-runtime-constants?/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezkuwi-core-primitives/runtime-benchmarks",
|
||||
"pezkuwichain-runtime-constants?/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
"zagros-runtime-constants?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -123,7 +123,7 @@ pub mod consensus {
|
||||
/// We allow for 2 seconds of compute with a 6 second average block.
|
||||
pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(
|
||||
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,
|
||||
);
|
||||
|
||||
/// This determines the average expected block time that we are targeting.
|
||||
|
||||
@@ -145,7 +145,7 @@ pub mod consensus {
|
||||
/// We allow for 2 seconds of compute with a 6 second average block.
|
||||
pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(
|
||||
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,
|
||||
);
|
||||
|
||||
/// This determines the average expected block time that we are targeting.
|
||||
@@ -170,7 +170,7 @@ pub mod time {
|
||||
}
|
||||
|
||||
pub mod snowbridge {
|
||||
use cumulus_primitives_core::ParaId;
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezframe_support::parameter_types;
|
||||
use xcm::prelude::{Location, NetworkId};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user