Support other "collators" pallets
crystalin opened this issue · 6 comments
crystalin commented
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
crystalin commented
But we need a way to specify the collators for those pallets, exemple:
...
"parachainStaking": {
"candidates": [
[
"0x1ae1d61d78e688ebc60285a2766164c237c0de8b",
1000000000000000000000
]
]
}
alannotnerd commented
@crystalin Have you launched the moonbeam successfully? I'm currently stucked on this.
crystalin commented
I haven't tried to go further, sorry
dudo50 commented
Hi, have you moved with this anyhow? Thanks in advance.