open-web3-stack/parachain-launch

Support other "collators" pallets

crystalin opened this issue · 6 comments

I've quickly tried to add Moonbeam as a config, however there are multiple issues:

  • "sudo" convert to ss58 when using "alice" or if provided the hex representation fails with:
Input("Error parsing spec file: invalid length 48, expected a (both 0x-prefixed or not) hex string with length of 40 at line 32 column 62")\
  • "collators" is expecting "collatorSelection" in the genesis, while some other parachain are using other pallet (ex: "parachainStaking")

Overall, I think having the possibility to modify the pallet genesis directly by specifyin the pallet and field name in the yml file directly would be more flexible.

What's your opinion ?

xlc commented

We can try to not touch relevant fields if there are no genesis sudo key or collator specified

But we need a way to specify the collators for those pallets, exemple:

...
"parachainStaking": {
  "candidates": [
    [
      "0x1ae1d61d78e688ebc60285a2766164c237c0de8b",
      1000000000000000000000
    ]
  ]
}
xlc commented

It is possible to override the genesis

runtimeGenesisConfig: # additonal genesis override
configuration:
config:
validation_upgrade_cooldown: 10
validation_upgrade_delay: 10

@crystalin Have you launched the moonbeam successfully? I'm currently stucked on this.

I haven't tried to go further, sorry

Hi, have you moved with this anyhow? Thanks in advance.