paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.8k stars 652 forks source link

Core time: Kusama #2353

Open eskimor opened 10 months ago

eskimor commented 10 months ago

Checklist will be based on the one of Westend.

Migration legacy -> legacy + bulk - no on-demand was existing before.

Added from Rococo checklist:

Actual motion used on Kusama: https://kusama.subsquare.io/referenda/375

Prepared: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.dwellir.com#/extrinsics/decode/0x630003000100b50f03142f0000060202ca9a3b01107c32000a000000e0c40000e0c40000b013000000ca9a3b0080c3c901b01300000602fa5159b0017d10321234000602c2c33f4612a6010038320104ffffffffffffffffffff010602071ecddf380322b70100503204005039278c04000000000000000000003400

Discovered while implementing runtime:

JelliedOwl commented 7 months ago

"no ongoing auctions - after we migrated to coretime no new lease holding parachains must come into existence."

Does this mean that, once coretime arrives, it's no longer possible to register a new paraid and swap an existing lease to it?

liamaharon commented 7 months ago

Should this issue be migrated to the fellowship runtimes repo?

bkchr commented 7 months ago

Does this mean that, once coretime arrives, it's no longer possible to register a new paraid and swap an existing lease to it?

Swapping leases is a concept that doesn't exist with coretime anymore. So, yes you will not be able to do this.

JelliedOwl commented 7 months ago

Swapping leases is a concept that doesn't exist with coretime anymore. So, yes you will not be able to do this.

Thanks Basti. So even for teams that have legacy leases - no swap mechanism from day one of coretime even if they have legacy lease time left that they want to move?

bkchr commented 7 months ago

So even for teams that have legacy leases - no swap mechanism from day one of coretime even if they have legacy lease time left that they want to move?

That is actually something we did not thought about to be honest. I mean all leases are migrated and they are not "lost". So, if you currently have a lease for X months, you will still get this. However, you will not be able to swap them. I assume you want to swap some lease?

I personally would be open to fast track this through fellowship, for the small number of projects that already acquired a lease. But maybe we can get them to swap before. I will ensure that this doesn't get lost and we have "a way" forward.

JelliedOwl commented 7 months ago

Thanks @bkchr.

To be honest, I'm considering speculatively picking up a cheap lease before coretime arrives, for a project that might or might not happen. I'm interesting in whether I would be able to off-load it to another team if I ended up not needing it, but it might be something that happens 1 or 0 times, so "fast track this through fellowship" is probably the right way to handle it.

I know some current teams are still buying leases on new paraids and swapping them rather than just extending their existing lease (I'm not sure why, but maybe they want the extra bidding power of that extra few lease periods in their bid), so there could be a team that does this right at the end of the auctions and doesn't swap it in time. Most likely not though.