-
Notifications
You must be signed in to change notification settings - Fork 10
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
refactor: separate runtimes #52
refactor: separate runtimes #52
Conversation
Enum variants should be sentence-cased rather than capitalised.
Regression from main as result of runtime split
Devnet always used when resolved to default, so just uses devnet and removes the additional default variant.
vec![ | ||
get_account_id_from_seed::<sr25519::Public>("Alice"), | ||
get_account_id_from_seed::<sr25519::Public>("Bob"), | ||
get_account_id_from_seed::<sr25519::Public>("Charlie"), | ||
get_account_id_from_seed::<sr25519::Public>("Dave"), | ||
get_account_id_from_seed::<sr25519::Public>("Eve"), | ||
get_account_id_from_seed::<sr25519::Public>("Ferdie"), | ||
get_account_id_from_seed::<sr25519::Public>("Alice//stash"), | ||
get_account_id_from_seed::<sr25519::Public>("Bob//stash"), | ||
get_account_id_from_seed::<sr25519::Public>("Charlie//stash"), | ||
get_account_id_from_seed::<sr25519::Public>("Dave//stash"), | ||
get_account_id_from_seed::<sr25519::Public>("Eve//stash"), | ||
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"), | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really don't want to fund these for the development config ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel we are only going to find issues by working with it in the proper way from the beginning. I'd rather discover issues early and address them with time than discover them late, potentially once deployed. For example, what is the minimum requirement for collators to actually produce blocks, can we produce blocks without funding to have relay tokens transferred in etc. How do we bootstrap with some limited amount.
There is an additional PR from Peter to automate the onboarding, simulating how it will work in practice. I hope that this will be included in the binary and be triggered by a step in pop up
so that we don't have to do anything - our tooling takes care of all of it.
A little additional work, but it proves that we are doing it the right way from the beginning, with the correct checks in place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that is fair.
Various minor improvements identified during review, along with one fix of a regression in functionality caused by the split.