From b782fa30af83270d9048f4ddffdb9f4514c0b913 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 24 May 2024 21:57:25 +0800 Subject: [PATCH] Release `pango-6631` (#1503) --- 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 627443414..8d00bfa1d 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(Aura::slot_duration()) + sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) } fn authorities() -> Vec { diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index dc23af212..a0e9552cf 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(Aura::slot_duration()) + sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) } fn authorities() -> Vec { diff --git a/runtime/pangolin/src/lib.rs b/runtime/pangolin/src/lib.rs index d6ffd74b9..f0b77e079 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_0, + spec_version: 6_6_3_1, 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(Aura::slot_duration()) + sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION) } fn authorities() -> Vec {