Grace period for subnet dissolution.
Current Value
36000Relevant for: subnet ownersminersvalidators
The Big Picture
Dissolving a subnet is irreversible and affects all participants. This grace period gives participants time to unstake, migrate to other subnets, or for the owner to reconsider. It prevents accidental or malicious sudden shutdowns that could trap participant funds.
Why This Matters
If a subnet owner initiates dissolution, you have this window to exit gracefully. Unstake, withdraw, and migrate to other subnets before dissolution completes.
Example
With DissolveNetworkScheduleDuration of 21600 blocks (~3 days), subnet dissolution is announced 3 days in advance. Participants can unstake and move to other subnets. The owner's lock is returned after dissolution completes.
Common Questions
- What happens to my stake if I don't exit?
- Typically stake is returned during dissolution, but timing may affect you. Exit early to avoid uncertainty.
- Can dissolution be canceled?
- Depends on runtime. Some implementations allow cancellation during the grace period. Check current subnet state.
From Chain Metadata
Dissolve network schedule duration
Use Cases
- Subnet lifecycle
- Dissolution
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 });
// Query InitialDissolveNetworkScheduleDuration constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialDissolveNetworkScheduleDuration")];
console.log("InitialDissolveNetworkScheduleDuration:", value.toHuman());Type Information
- Type
- u32
- Byte Size
- 4 bytes
- Encoding
- fixed
- Raw Hex
- 0xa08c0000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v195
- Latest Version
- v195
- Current Runtime
- v393