Skip to content

Conversation

@ibraheem-abe
Copy link
Contributor

@ibraheem-abe ibraheem-abe commented Dec 23, 2025

Swap coldkey rework

Reworks the swap-coldkey command based on subtensor changes:
opentensor/subtensor#2251

Note: MeV protection currently not working for execute & reannouncement. Waiting upstream changes before testing again.

image

Updated commands

1. btcli swap-coldkey announce

Important

Case: Fresh announcement with no prior records

image

Important

Case: Reannouncement of the same key

image

Important

Case: Reannouncement of a different key

image

Important

Case: Cool-down period before reannouncement can proceed

image

2. btcli swap-coldkey execute

Important

Case: Mismatch between recorded hash and provided hash

image

Important

Case: Matching hash

image

3. btcli wallet swap-check

image

@ibraheem-abe ibraheem-abe added enhancement New feature or request Do not merge labels Dec 23, 2025
basfroman
basfroman previously approved these changes Dec 23, 2025
@ibraheem-abe ibraheem-abe added the Waiting for Upstream Waiting for a change to some upstream (non-btcli) library/chain label Jan 19, 2026
@ibraheem-abe ibraheem-abe removed Do not merge Waiting for Upstream Waiting for a change to some upstream (non-btcli) library/chain labels Jan 28, 2026
@ibraheem-abe ibraheem-abe merged commit 336039f into staging Jan 29, 2026
556 of 566 checks passed
@ibraheem-abe ibraheem-abe deleted the feat/rework-ck-swap branch January 29, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants