Coretime Lease Swap
The following is a guide to leverage the swap functionality to change leases between different paraIDs. This allows parachain teams to swap existing leases.
Coretime swapping requires two chains to send a swap
instruction from an origin with Root
privileges. Depending on whether the parachain is locked or not, this can either be the manager
account of the parachain on the relay chain (if parachain is not locked), or the governance system
in place for the parachain (can be sudo) if the parachain is locked.
In order to check if a parachain is locked or not, teams need to query registrar.paras
with the
corresponding paraID on the relay chain. It's important to note that since
RFC #14, if a parachain never produced a block
the it's by default unlocked.