mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 20:55:41 +00:00
* Adapt to new kill_child_storage runtime interface version * "Update Substrate" * Update substrate Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
575d68a65d
commit
cadc8347b4
Generated
+136
-136
File diff suppressed because it is too large
Load Diff
@@ -245,7 +245,7 @@ impl sp_externalities::Externalities for ValidationExternalities {
|
|||||||
panic!("child_storage: unsupported feature for parachain validation")
|
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")
|
panic!("kill_child_storage: unsupported feature for parachain validation")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -560,7 +560,7 @@ impl<T: Config> Module<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn crowdfund_kill(index: FundIndex) {
|
pub fn crowdfund_kill(index: FundIndex) {
|
||||||
child::kill_storage(&Self::id_from_index(index));
|
child::kill_storage(&Self::id_from_index(index), None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user