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:
Andronik
2022-03-02 10:14:38 +01:00
committed by GitHub
parent e69d4255f8
commit 55e2ddd91c
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -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 {
+1
View File
@@ -38,6 +38,7 @@ runtimes=(
"kusama" "kusama"
"polkadot" "polkadot"
"westend" "westend"
"rococo"
) )
common_dirs=( common_dirs=(