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

collate with Eve instead of Alice #710

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions node/src/chain_spec/mangata_kusama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ pub fn mangata_kusama_local_config() -> ChainSpec {
// initial collators.
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_collator_keys_from_seed("Eve"),
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
Expand All @@ -250,8 +250,13 @@ pub fn mangata_kusama_local_config() -> ChainSpec {
300_000_000__000_000_000_000_000_000u128,
get_account_id_from_seed::<sr25519::Public>("Alice"),
),
(
0u32,
300_000_000__000_000_000_000_000_000u128,
get_account_id_from_seed::<sr25519::Public>("Eve"),
),
// ETH
(1u32, 0u128, get_account_id_from_seed::<sr25519::Public>("Alice")),
(1u32, 0u128, get_account_id_from_seed::<sr25519::Public>("Eve")),
(
0u32,
100_000_000__000_000_000_000_000_000u128,
Expand All @@ -273,7 +278,7 @@ pub fn mangata_kusama_local_config() -> ChainSpec {
vec![
(
// Who gets to stake initially
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
// Id of MGA token,
0u32,
// How much mangata they pool
Expand Down
13 changes: 9 additions & 4 deletions node/src/chain_spec/mangata_rococo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ pub fn mangata_rococo_local_config(initial_collators_as_sequencers: bool) -> Cha
// initial collators.
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_collator_keys_from_seed("Eve"),
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
Expand All @@ -251,8 +251,13 @@ pub fn mangata_rococo_local_config(initial_collators_as_sequencers: bool) -> Cha
300_000_000__000_000_000_000_000_000u128,
get_account_id_from_seed::<sr25519::Public>("Alice"),
),
(
0u32,
300_000_000__000_000_000_000_000_000u128,
get_account_id_from_seed::<sr25519::Public>("Eve"),
),
// ETH
(1u32, 0u128, get_account_id_from_seed::<sr25519::Public>("Alice")),
(1u32, 0u128, get_account_id_from_seed::<sr25519::Public>("Eve")),
(
0u32,
100_000_000__000_000_000_000_000_000u128,
Expand All @@ -274,7 +279,7 @@ pub fn mangata_rococo_local_config(initial_collators_as_sequencers: bool) -> Cha
vec![
(
// Who gets to stake initially
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
// Id of MGA token,
0u32,
// How much mangata they pool
Expand Down
6 changes: 3 additions & 3 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,16 +634,16 @@ mod tests {
crate::chain_spec::mangata_rococo::mangata_genesis(
vec![
(
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_collator_keys_from_seed("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_collator_keys_from_seed("Eve"),
),
(
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_collator_keys_from_seed("Bob"),
),
],
get_account_id_from_seed::<sr25519::Public>("Relay"),
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
vec![],
vec![],
vec![],
Expand Down
Loading