From 8384846643449707b733c005fe33b7bff72f4bbf Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Wed, 29 May 2024 13:20:53 +0800 Subject: [PATCH] Revert "Release `pango-6631` (#1503)" (#1504) This reverts commit b782fa30af83270d9048f4ddffdb9f4514c0b913. --- runtime/crab/src/lib.rs | 2 +- runtime/darwinia/src/lib.rs | 2 +- runtime/pangolin/src/lib.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index 8d00bfa1d..627443414 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -190,7 +190,7 @@ impl_self_contained_call!(); sp_api::impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { - sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) + sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration()) } fn authorities() -> Vec { diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index a0e9552cf..dc23af212 100644 --- a/runtime/darwinia/src/lib.rs +++ b/runtime/darwinia/src/lib.rs @@ -195,7 +195,7 @@ impl_self_contained_call!(); sp_api::impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { - sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) + sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration()) } fn authorities() -> Vec { diff --git a/runtime/pangolin/src/lib.rs b/runtime/pangolin/src/lib.rs index f0b77e079..d6ffd74b9 100644 --- a/runtime/pangolin/src/lib.rs +++ b/runtime/pangolin/src/lib.rs @@ -75,7 +75,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion { spec_name: sp_runtime::create_runtime_str!("Pangolin2"), impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"), authoring_version: 0, - spec_version: 6_6_3_1, + spec_version: 6_6_3_0, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -194,7 +194,7 @@ impl_self_contained_call!(); sp_api::impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { - sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) + sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration()) } fn authorities() -> Vec {