Skip to content

Commit a564bb6

Browse files
authored
Merge pull request #802 from subspace/fix-solution-range-adjustment
Fix handling of solution range override during adjustment enabling
2 parents 880ccf4 + e9a5a34 commit a564bb6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/pallet-subspace/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,9 @@ impl<T: Config> Pallet<T> {
10651065
solution_range,
10661066
voting_solution_range,
10671067
});
1068+
frame_system::Pallet::<T>::deposit_log(DigestItem::next_solution_range(
1069+
solution_range,
1070+
));
10681071
}
10691072
});
10701073
}

crates/subspace-runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
8989
spec_name: create_runtime_str!("subspace"),
9090
impl_name: create_runtime_str!("subspace"),
9191
authoring_version: 0,
92-
spec_version: 3,
92+
spec_version: 4,
9393
impl_version: 0,
9494
apis: RUNTIME_API_VERSIONS,
9595
transaction_version: 0,

0 commit comments

Comments
 (0)