Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Split runtime into devnet and mainnet #30

Closed
weezy20 wants to merge 9 commits intomainfrom
wzy-devnet-mainnet
Closed

Split runtime into devnet and mainnet #30
weezy20 wants to merge 9 commits intomainfrom
wzy-devnet-mainnet

Conversation

@weezy20
Copy link
Copy Markdown
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
Comment thread node/src/chain_spec.rs Outdated
Comment thread node/src/chain_spec.rs Outdated
Comment thread node/src/chain_spec.rs Outdated
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
],
Some(get_account_id_from_seed::<sr25519::Public>("Alice")),
1000.into(),
Copy link
Copy Markdown
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(),

Comment thread node/src/chain_spec.rs Outdated
None,
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: 1000,
Copy link
Copy Markdown
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,

Comment thread node/src/chain_spec.rs
members: endowed_accounts
.iter()
.enumerate()
.filter_map(|(idx, acc)| if idx % 2 == 0 { Some(acc.clone()) } else { None })
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants