Function pallet_bootstrap::pallet::dispatchables::pre_finalize
source · pub fn pre_finalize<T: Config>()
Expand description
Used to reset Bootstrap state of large storages and prepare it for running another bootstrap.
It should be called multiple times until it produces Event::BootstrapReadyToBeFinalized
event.
!!! Cleaning up storage is complex operation and pruning all storage items related to particular bootstrap might not fit in a single block. As a result tx can be rejected !!!
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::pre_finalize
.