Companion for #9106 (remove_all with size limit) (#3257)

* update apis

* fix api

* rename to `KillStorageResult`

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2021-06-15 14:52:54 +01:00
committed by GitHub
parent 396b38b355
commit da71128daf
4 changed files with 166 additions and 166 deletions
+2 -2
View File
@@ -118,11 +118,11 @@ impl sp_externalities::Externalities for ValidationExternalities {
panic!("kill_child_storage: unsupported feature for parachain validation")
}
fn clear_prefix(&mut self, _: &[u8]) {
fn clear_prefix(&mut self, _: &[u8], _: Option<u32>) -> (bool, u32) {
panic!("clear_prefix: unsupported feature for parachain validation")
}
fn clear_child_prefix(&mut self, _: &ChildInfo, _: &[u8]) {
fn clear_child_prefix(&mut self, _: &ChildInfo, _: &[u8], _: Option<u32>) -> (bool, u32) {
panic!("clear_child_prefix: unsupported feature for parachain validation")
}