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

Split runtime into devnet and mainnet #30

Closed
wants to merge 9 commits into from
Closed

Conversation

weezy20
Copy link
Contributor

@weezy20 weezy20 commented Jun 1, 2023

This PR is based off #27 and should not be merged until #27 . We introduce two runtimes, one for development, and another for mainnet launch. Refer to #10 for details.

@weezy20 weezy20 mentioned this pull request Jun 6, 2023
11 tasks
node/src/chain_spec.rs Outdated Show resolved Hide resolved
node/src/chain_spec.rs Outdated Show resolved Hide resolved
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
],
Some(get_account_id_from_seed::<sr25519::Public>("Alice")),
1000.into(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1000.into(),
2000.into(),

None,
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
para_id: 1000,
para_id: 2000,

members: endowed_accounts
.iter()
.enumerate()
.filter_map(|(idx, acc)| if idx % 2 == 0 { Some(acc.clone()) } else { None })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment here would be nice -- describing that every other account becomes a council member

@weezy20
Copy link
Contributor Author

weezy20 commented Jul 8, 2023

This PR should be considered stale. Please visit #44 instead.

@weezy20 weezy20 closed this Jul 8, 2023
@stiiifff stiiifff deleted the wzy-devnet-mainnet branch July 28, 2023 14:31
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

Successfully merging this pull request may close these issues.

None yet

2 participants