register: TxDescriptor<{
    genesis_head: Binary;
    id: number;
    validation_code: Binary;
}>

Register head data and validation code for a reserved Para Id.

  • origin: Must be called by a Signed origin.
  • id: The para ID. Must be owned/managed by the origin signing account.
  • genesis_head: The genesis head data of the parachain/thread.
  • validation_code: The initial validation code of the parachain/thread.

The account with the originating signature must reserve a deposit.

The deposit is required to cover the costs associated with storing the genesis head data and the validation code. This accounts for the potential to store validation code of a size up to the max_code_size, as defined in the configuration pallet

Anything already reserved previously for this para ID is accounted for.

The Registered event is emitted in case of success.