force_extend
Call v154 → current #3Force-extend safe-mode without deposit (privileged origin only).
View calls on chainCall Workflow
This diagram shows the call execution flow: starting with force_extend, passing through validation
(signature, nonce, mortality, fee payment), then pre-dispatch checks, followed by dispatch which emits events: Extended and modifies storage: EnteredUntil, and finally post-dispatch where ExtrinsicSuccess is emitted and fees are settled.
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
Click items to navigate. Pan and zoom to explore.
Used by: validatorsdevelopers
The Big Picture
Just as force_enter allows privileged actors to activate safe-mode without deposit, force_extend allows extending it when users may not have deposits available.
Use Cases
- Governance extends protection without deposit
- Emergency extension
From Chain Metadata
Extend the safe-mode by force for a per-origin configured number of blocks. Emits an [`Event::Extended`] event on success. Errors with [`Error::Exited`] if the safe-mode is inactive. Can only be called by the [`Config::ForceExtendOrigin`] origin.
This call takes no parameters.
Permissions
Origin
Unknown
Required Role
Permission data inferred from metadata. May be incomplete.
Requirements
- Caller is ForceExtendOrigin
- Safe-mode is currently entered
Effects
Events Emitted
Storage Modified
Postconditions
- Safe-mode duration extended
- EnteredUntil storage updated
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Build force_extend call (no parameters)
const call = api.tx[stringCamelCase("SafeMode")][stringCamelCase("force_extend")]();Runtime Info
- Pallet Index
- 20
- Call Index
- 3
- First Version
- v154
- Current Version
- v393