Unverified Commit 7f66af4b authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

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 <>
parent e4370aa5
Pipeline #116500 passed with stages
in 27 minutes and 59 seconds
This diff is collapsed.
......@@ -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")
}
......
......@@ -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);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment