mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
@@ -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.
|
||||
|
||||
@@ -852,10 +852,12 @@ impl<T: Config> Pallet<T> {
|
||||
|
||||
for to_prune in to_prune {
|
||||
// This should be small, as disputes are rare, so `None` is fine.
|
||||
#[allow(deprecated)]
|
||||
<Disputes<T>>::remove_prefix(to_prune, None);
|
||||
|
||||
// This is larger, and will be extracted to the `shared` pallet for more proper pruning.
|
||||
// TODO: https://github.com/paritytech/polkadot/issues/3469
|
||||
#[allow(deprecated)]
|
||||
<Included<T>>::remove_prefix(to_prune, None);
|
||||
SpamSlots::<T>::remove(to_prune);
|
||||
}
|
||||
|
||||
@@ -516,6 +516,7 @@ fn bitfield_checks() {
|
||||
);
|
||||
|
||||
// clean up
|
||||
#[allow(deprecated)]
|
||||
PendingAvailability::<Test>::remove_all(None);
|
||||
}
|
||||
|
||||
@@ -574,6 +575,7 @@ fn bitfield_checks() {
|
||||
0
|
||||
);
|
||||
|
||||
#[allow(deprecated)]
|
||||
PendingAvailability::<Test>::remove_all(None);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user