Function pallet_contracts::pallet::dispatchables::migrate
source · pub fn migrate<T: Config>(weight_limit: Weight)
Expand description
When a migration is in progress, this dispatchable can be used to run migration steps.
Calls that contribute to advancing the migration have their fees waived, as it’s helpful
for the chain. Note that while the migration is in progress, the pallet will also
leverage the on_idle
hooks to run migration steps.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::migrate
.