ArbitrationPeriodExtended
Event Re-added v161 → v161, v162 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326, v334 → v367, v372 → v377, v385 → current #72Emitted when a coldkey swap arbitration period is extended due to dispute.
View events on chainThe Big Picture
The arbitration period is your protection against unauthorized coldkey swaps. If someone (you or another party) believes a scheduled swap is malicious, they can raise a dispute. This extends the arbitration period, giving more time to investigate and resolve the issue. It's a circuit breaker for potentially fraudulent migrations.
Why This Matters
If your coldkey swap is disputed, execution is delayed. This is good if the dispute is legitimate (someone caught an unauthorized swap). It's inconvenient if the dispute is malicious (someone blocking your legitimate migration). Either way, you need to know it happened.
Example Scenario
You scheduled a coldkey swap for legitimate migration. A bad actor disputes it to cause problems. ArbitrationPeriodExtended fires, adding 3 more days to the waiting period. Your swap is delayed, but you can resolve the dispute through proper channels and eventually complete the migration.
Common Questions
- Can anyone dispute my swap?
- Dispute mechanisms vary. Typically the original coldkey owner or recognized parties can dispute. Check the specific dispute rules in the runtime.
- How long does the extension add?
- It depends on the runtime configuration. Could be hours to days. Check the extension duration constant or the event data.
- What happens after arbitration extension?
- If no further disputes and the extended period passes, the swap executes. If more disputes, more extensions. Eventually requires governance or administrative resolution.
- Can I still cancel during extended arbitration?
- Yes, the original scheduler should still be able to cancel. The extension doesn't lock you out - it just delays automatic execution.
Use Cases
- Track disputes on coldkey swap attempts
- Monitor security incidents involving key migrations
- Alert when your scheduled swaps are disputed
- Build security monitoring dashboards
How to Use This Event
- → Monitor your coldkey for dispute events
- → Track network-wide dispute patterns for security analysis
- → Build alert systems for disputed swaps
From Chain Metadata
The arbitration period has been extended
Triggers
Preconditions
- Coldkey swap is pending
- Dispute raised during arbitration
Effects
Postconditions
- Arbitration end block extended
Side Effects
- Swap execution delayed
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | coldkey | AccountId | Cold wallet address (offline storage) (hex -> SS58) |
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 });
// Subscribe to ArbitrationPeriodExtended events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "ArbitrationPeriodExtended"
)
.forEach(({ event }) => {
console.log("ArbitrationPeriodExtended:", event.data.toHuman());
});
});Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 72
- First Version
- v161
- Current Version
- v393