Skip to content

Commit

Permalink
Fix handling of solution range override during adjustment enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Sep 6, 2022
1 parent 880ccf4 commit e9a5a34
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 e9a5a34

Please sign in to comment.