Skip to content

Commit c05fe2e

Browse files
authored
Revert "Release pango-6631 (#1503)"
This reverts commit b782fa3.
1 parent b782fa3 commit c05fe2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

runtime/crab/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ impl_self_contained_call!();
190190
sp_api::impl_runtime_apis! {
191191
impl sp_consensus_aura::AuraApi<Block, sp_consensus_aura::sr25519::AuthorityId> for Runtime {
192192
fn slot_duration() -> sp_consensus_aura::SlotDuration {
193-
sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION)
193+
sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())
194194
}
195195

196196
fn authorities() -> Vec<sp_consensus_aura::sr25519::AuthorityId> {

runtime/darwinia/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl_self_contained_call!();
195195
sp_api::impl_runtime_apis! {
196196
impl sp_consensus_aura::AuraApi<Block, sp_consensus_aura::sr25519::AuthorityId> for Runtime {
197197
fn slot_duration() -> sp_consensus_aura::SlotDuration {
198-
sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION)
198+
sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())
199199
}
200200

201201
fn authorities() -> Vec<sp_consensus_aura::sr25519::AuthorityId> {

runtime/pangolin/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
7575
spec_name: sp_runtime::create_runtime_str!("Pangolin2"),
7676
impl_name: sp_runtime::create_runtime_str!("DarwiniaOfficialRust"),
7777
authoring_version: 0,
78-
spec_version: 6_6_3_1,
78+
spec_version: 6_6_3_0,
7979
impl_version: 0,
8080
apis: RUNTIME_API_VERSIONS,
8181
transaction_version: 0,
@@ -194,7 +194,7 @@ impl_self_contained_call!();
194194
sp_api::impl_runtime_apis! {
195195
impl sp_consensus_aura::AuraApi<Block, sp_consensus_aura::sr25519::AuthorityId> for Runtime {
196196
fn slot_duration() -> sp_consensus_aura::SlotDuration {
197-
sp_consensus_aura::SlotDuration::from_millis(SLOT_DURATION)
197+
sp_consensus_aura::SlotDuration::from_millis(Aura::slot_duration())
198198
}
199199

200200
fn authorities() -> Vec<sp_consensus_aura::sr25519::AuthorityId> {

0 commit comments

Comments
 (0)