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

Return to standard Alice and Bob accounts #158

Closed
wants to merge 3 commits into from

Conversation

JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented Jan 4, 2021

What does it do?

Modifies the built-in chain specifications to use the Substrate-standard //Alice and //Bob accounts in most places. In particular Alice is now the Sudo key and both Alice and Bob are funded at genesis. Even after this PR the Gerald account is still funded at genesis since external tools probably depend on it. It also changes the chain type to Development so that Apps will automatically include the dev accounts.

What important points reviewers should know?

These Alice and Bob accounts are used in the Substrate node template and throughout the Substrate ecosystem. They are derived from the dev phrase.

What value does it bring to the blockchain users?

This change allows developers of Moonbeam and of dApps that run on moonbeam to launch and interact with a simple testnet with fewer hurdles to jump through.

TODO: Wrong addresses

Alice's address as generated by the node after this PR does not match the one generated by Apps. So something needs to be sorted out there.

Checklist

  • Does it require a purge of the network?
  • You bumped the runtime version if there are breaking changes in the runtime ?
  • Does it require changes in documentation/tutorials ?

I probably introduced this old file during a botched merge conflict.
@@ -49,11 +68,16 @@ pub fn get_chain_spec(para_id: ParaId) -> ChainSpec {
ChainSpec::from_genesis(
"Moonbase Parachain Local Testnet",
"local_testnet",
ChainType::Local,
ChainType::Development,
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does it impact ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My previous understanding was that this would give Apps a clue to include Alice, Bob, etc in the interface. It did not work, so I need to dig more into it.

@JoshOrndorff JoshOrndorff marked this pull request as draft January 8, 2021 03:34
@JoshOrndorff
Copy link
Contributor Author

Superseded by #195

@JoshOrndorff JoshOrndorff deleted the joshy-bye-gerald branch July 6, 2021 13:10
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.

2 participants