Skip to content

Commit

Permalink
Merge pull request #802 from subspace/fix-solution-range-adjustment
Browse files Browse the repository at this point in the history
Fix handling of solution range override during adjustment enabling
  • Loading branch information
nazar-pc authored Sep 6, 2022
2 parents 880ccf4 + e9a5a34 commit a564bb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crates/pallet-subspace/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,9 @@ impl<T: Config> Pallet<T> {
solution_range,
voting_solution_range,
});
frame_system::Pallet::<T>::deposit_log(DigestItem::next_solution_range(
solution_range,
));
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("subspace"),
impl_name: create_runtime_str!("subspace"),
authoring_version: 0,
spec_version: 3,
spec_version: 4,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 0,
Expand Down

0 comments on commit a564bb6

Please sign in to comment.