Skip to content

do_swap_coldkey downgrades perpetual locks to decaying #2739

Description

@gztensor

When a coldkey swap is performed via do_swap_coldkey(old_coldkey, new_coldkey), all individual Lock rows for old_coldkey are correctly transferred to new_coldkey via swap_coldkey_locks (lock.rs:1327-1374). However, the DecayingLock(coldkey, netuid) flag is never migrated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions