Function pallet_migrations::pallet::dispatchables::force_set_active_cursor
source · pub fn force_set_active_cursor<T: Config>(
index: u32,
inner_cursor: Option<RawCursorOf<T>>,
started_at: Option<BlockNumberFor<T>>,
)
Expand description
Allows root to set an active cursor to forcefully start/forward the migration process.
This is an edge-case version of [Self::force_set_cursor
] that allows to set the
started_at
value to the next block number. Otherwise this would not be possible, since
force_set_cursor
takes an absolute block number. Setting started_at
to None
indicates that the current block number plus one should be used.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_set_active_cursor
.