parachain-launch icon indicating copy to clipboard operation
parachain-launch copied to clipboard

Support other "collators" pallets

Open crystalin opened this issue 3 years ago • 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 ?

crystalin avatar Apr 06 '22 20:04 crystalin

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

xlc avatar Apr 06 '22 21:04 xlc

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

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

crystalin avatar Apr 07 '22 01:04 crystalin

It is possible to override the genesis https://github.com/open-web3-stack/parachain-launch/blob/a4e17b56fc23b8a4245f53db6f0db4a123e23817/config.yml#L5-L9

xlc avatar Apr 07 '22 03:04 xlc

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

alannotnerd avatar Apr 23 '22 13:04 alannotnerd

I haven't tried to go further, sorry

crystalin avatar Apr 23 '22 14:04 crystalin

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

dudo50 avatar Aug 18 '22 13:08 dudo50