Companion for #7671 (child trie deletion host function) (#2077)

* Adapt to new kill_child_storage runtime interface version

* "Update Substrate"

* Update substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Theißenandparity-processbot authored and GitHub committed 2020-12-09 09:02:36 +00:00
1 parent 575d68a65d
commit cadc8347b4
3 files changed
+138 -138

No files matched your search

+136 -136
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -245,7 +245,7 @@ impl sp_externalities::Externalities for ValidationExternalities {
panic!("child_storage: unsupported feature for parachain validation")
}
fn kill_child_storage(&mut self, _: &ChildInfo) {
fn kill_child_storage(&mut self, _: &ChildInfo, _: Option<u32>) -> bool {
panic!("kill_child_storage: unsupported feature for parachain validation")
}
+1 -1
View File
@@ -560,7 +560,7 @@ impl<T: Config> Module<T> {
}
pub fn crowdfund_kill(index: FundIndex) {
child::kill_storage(&Self::id_from_index(index));
child::kill_storage(&Self::id_from_index(index), None);
}
}