mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 18:15:48 +00:00
CI: add rococo to the runtime check (#5013)
* ci: add rococo for runtime changes check * rococo: bump spec_version to 9180 * Update Rococo to 1-day lease (#4761) * changed lease period to 1 day * bumped version * bumped version again * changed 356 to 365 days to mimic one year Co-authored-by: Santi Balaguer <santibalaguer@Santis-MacBook-Pro.local> * rococo: bump spec_version to 9170 for consistency Co-authored-by: Santi Balaguer <santiago.balaguer@gmail.com> Co-authored-by: Santi Balaguer <santibalaguer@Santis-MacBook-Pro.local>
This commit is contained in:
@@ -100,7 +100,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
spec_name: create_runtime_str!("rococo"),
|
spec_name: create_runtime_str!("rococo"),
|
||||||
impl_name: create_runtime_str!("parity-rococo-v2.0"),
|
impl_name: create_runtime_str!("parity-rococo-v2.0"),
|
||||||
authoring_version: 0,
|
authoring_version: 0,
|
||||||
spec_version: 9140,
|
spec_version: 9170,
|
||||||
impl_version: 0,
|
impl_version: 0,
|
||||||
#[cfg(not(feature = "disable-runtime-api"))]
|
#[cfg(not(feature = "disable-runtime-api"))]
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
@@ -682,7 +682,7 @@ impl parachains_initializer::Config for Runtime {
|
|||||||
impl paras_sudo_wrapper::Config for Runtime {}
|
impl paras_sudo_wrapper::Config for Runtime {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const PermanentSlotLeasePeriodLength: u32 = 356;
|
pub const PermanentSlotLeasePeriodLength: u32 = 365;
|
||||||
pub const TemporarySlotLeasePeriodLength: u32 = 3;
|
pub const TemporarySlotLeasePeriodLength: u32 = 3;
|
||||||
pub const MaxPermanentSlots: u32 = 25;
|
pub const MaxPermanentSlots: u32 = 25;
|
||||||
pub const MaxTemporarySlots: u32 = 20;
|
pub const MaxTemporarySlots: u32 = 20;
|
||||||
@@ -941,7 +941,7 @@ impl auctions::Config for Runtime {
|
|||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const LeasePeriod: BlockNumber = 7 * DAYS;
|
pub const LeasePeriod: BlockNumber = 1 * DAYS;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl slots::Config for Runtime {
|
impl slots::Config for Runtime {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ runtimes=(
|
|||||||
"kusama"
|
"kusama"
|
||||||
"polkadot"
|
"polkadot"
|
||||||
"westend"
|
"westend"
|
||||||
|
"rococo"
|
||||||
)
|
)
|
||||||
|
|
||||||
common_dirs=(
|
common_dirs=(
|
||||||
|
|||||||
Reference in New Issue
Block a user