Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other "collators" pallets #62

Open
crystalin opened this issue Apr 6, 2022 · 6 comments
Open

Support other "collators" pallets #62

crystalin opened this issue Apr 6, 2022 · 6 comments

Comments

@crystalin
Copy link

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
Copy link
Member

xlc commented Apr 6, 2022

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

@crystalin
Copy link
Author

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

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

@xlc
Copy link
Member

xlc commented Apr 7, 2022

It is possible to override the genesis

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

@alannotnerd
Copy link

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

@crystalin
Copy link
Author

I haven't tried to go further, sorry

@dudo50
Copy link

dudo50 commented Aug 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants