This constant was removed in v377

This constant is no longer available in the current runtime. Existed from v273 to v377. Shown here for historical reference.

InitialColdkeySwapRescheduleDuration

Constant Removed v273 → v377 (removed) u32

Extended arbitration after disputes.

Current Value

7200
Relevant for: validatorsminersstakersstakers

The Big Picture

If a coldkey swap is canceled or disputed, the reschedule duration applies. This is typically longer than the initial duration, giving more time for investigation. It handles cases where legitimate owners and attackers are both claiming the key, providing extended arbitration time.

Why This Matters

If you cancel a swap and reschedule, expect a longer wait. This extended period allows for thorough investigation in contested ownership situations.

Example

With ColdkeySwapRescheduleDuration of 14400 blocks (~48 hours), a rescheduled swap takes twice as long as the initial attempt. This extra time allows disputes to be resolved through other channels if needed.

Common Questions

Why longer for reschedules?
Reschedules often indicate disputes. The longer window allows for investigation, potential developers intervention, or establishing true ownership.
Can I reschedule multiple times?
Depends on runtime. Repeated reschedules might be limited to prevent abuse. Check current rules.

From Chain Metadata

Coldkey swap reschedule duration.

Use Cases

  • Coldkey swap
  • Dispute resolution

Value History

VersionBlockChangeValue
v273#5,659,032Added7200
v385#7,782,670Removed7200

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 InitialColdkeySwapRescheduleDuration constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialColdkeySwapRescheduleDuration")];
console.log("InitialColdkeySwapRescheduleDuration:", value.toHuman());

Type Information

Type
u32
Byte Size
4 bytes
Encoding
fixed
Raw Hex
0x201c0000

Runtime Info

Pallet
SubtensorModule
First Version
v273
Latest Version
v377
Removed In
v377