darwinia icon indicating copy to clipboard operation
darwinia copied to clipboard

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

Open hackfisher opened this issue 1 year ago • 1 comments

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

hackfisher avatar Jan 09 '24 13:01 hackfisher

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.

  • https://github.com/paritytech/polkadot-sdk/blob/c45732d18b31d4cf307be13818f97a5dc07da015/polkadot/runtime/common/src/paras_registrar/mod.rs#L249
  • https://github.com/paritytech/polkadot-sdk/blob/c45732d18b31d4cf307be13818f97a5dc07da015/polkadot/runtime/common/src/paras_registrar/mod.rs#L598-L602

aurexav avatar Jan 12 '24 01:01 aurexav