Companion to Substrate #11490 (#5603)

* Fix warnings

* Bump
This commit is contained in:
Gavin Wood
2022-05-30 11:21:03 +01:00
committed by GitHub
parent f814695d5d
commit 026848c932
8 changed files with 205 additions and 174 deletions
@@ -638,7 +638,9 @@ impl<T: paras_inherent::Config> BenchBuilder<T> {
pub(crate) fn build(self) -> Bench<T> {
// Make sure relevant storage is cleared. This is just to get the asserts to work when
// running tests because it seems the storage is not cleared in between.
#[allow(deprecated)]
inclusion::PendingAvailabilityCommitments::<T>::remove_all(None);
#[allow(deprecated)]
inclusion::PendingAvailability::<T>::remove_all(None);
// We don't allow a core to have both disputes and be marked fully available at this block.