This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 372
add statemine parachain-launch config #1812
Closed
Closed
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
feaefc7
add statemine parachain-launch config
samelamin 64ae78b
add docs to run parachain launch
samelamin 120001a
pr comments
samelamin d346998
Update scripts/parachain-launch/statemine.yml
samelamin 0e18754
Update scripts/parachain-launch/README.md
samelamin 6e1ddad
Update scripts/parachain-launch/statemine.yml
samelamin fe8d361
remove log env variables
samelamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # parachain-launch | ||
|
|
||
|
|
||
|
|
||
| # Introduction | ||
|
|
||
| [Parachain-launch](https://github.com/open-web3-stack/parachain-launch) is a script that generates a docker compose file allowing you to launch a testnet of multiple blockchain nodes. | ||
|
|
||
| To generate the compose file, first ensure `parachain-launch` is installed and run the following command | ||
|
|
||
| ``` | ||
| parachain-launch generate statemine.yml | ||
| ``` | ||
|
|
||
| This will produce an output directory that contains all the necessary files to run the testnet. | ||
|
|
||
| Once the run is successful, you can spin up the infrastructure using the below command | ||
|
|
||
| ``` | ||
| docker-compose -f output/docker-compose.yml up -d | ||
| ``` | ||
|
|
||
| # Requirements | ||
| [docker-compose](https://docs.docker.com/compose/install/) and [Parachain-launch](https://github.com/open-web3-stack/parachain-launch) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| relaychain: | ||
| image: parity/polkadot:v0.9.29 | ||
| chain: rococo-local | ||
| runtimeGenesisConfig: | ||
| configuration: | ||
| config: | ||
| validation_upgrade_cooldown: 10 | ||
| validation_upgrade_delay: 10 | ||
| env: | ||
| RUST_LOG: parachain::candidate-backing=trace,parachain::candidate-selection=trace,parachain::pvf=debug,parachain::provisioner=trace | ||
samelamin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| flags: | ||
| - --rpc-methods=unsafe | ||
| - --wasm-execution=compiled | ||
| - --execution=wasm | ||
samelamin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| nodes: | ||
| - name: alice | ||
| - name: bob | ||
|
|
||
| parachains: | ||
| - image: docker.io/parity/polkadot-parachain:latest | ||
| chain: | ||
| base: statemine-local | ||
| collators: | ||
| - alice | ||
| sudo: alice | ||
| id: 2000 | ||
| parachain: true | ||
| flags: | ||
| - --rpc-methods=unsafe | ||
| - --force-authoring | ||
| - --wasm-execution=compiled | ||
| - --execution=wasm | ||
| relaychainFlags: | ||
| - --wasm-execution=compiled | ||
| - --execution=wasm | ||
samelamin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| env: | ||
| RUST_LOG: sc_basic_authorship=trace,cumulus-consensus=trace,cumulus-collator=trace,collator_protocol=trace,collation_generation=trace,aura=debug | ||
samelamin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| nodes: | ||
| - flags: | ||
| - --alice | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.