darwinia-network / darwinia

Darwinia Chain, EVM+, Polkadot parachain and integrating with XCMP.
https://darwinia.network
GNU General Public License v3.0
242 stars 49 forks source link

Replace genesis head and wasm code to latest shell runtime for para 2003 on Polkadot and para 2229 on Kusama #1378

Closed hackfisher closed 4 months ago

hackfisher commented 10 months ago

Even though we do not need it anymore for upgrade to parachain before swap overlaping lease period, we would better to do the housekeeping job to reset the genesis head and code, just in case it is loced by mistake or need to running as parachain to access the para origin etc.

Ref: https://github.com/polkadot-fellows/RFCs/blob/main/text/0014-improve-locking-mechanism-for-parachains.md

AurevoirXavier commented 10 months ago

There'll be a new release for creating a genesis.

And based on the code, if the para is not locked we can call register again to overwrite the old genesis.