-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tutorials: Update parachain tutorial #234
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2524668
updates so far
CrackTheCode016 56e3773
Add finishing touches
CrackTheCode016 efa9306
comments
CrackTheCode016 9a9943e
Apply suggestions from code review
CrackTheCode016 0182e2b
change to chain-spec-builder
CrackTheCode016 b148b1a
Merge branch 'bd-parachain-tutorial' of https://github.com/polkadot-d…
CrackTheCode016 f61b0c6
Update tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy…
CrackTheCode016 660e117
feedback
CrackTheCode016 1e27654
replace parachain-template-node
CrackTheCode016 ab256f1
fix most instructions
CrackTheCode016 fabd1fb
few things
CrackTheCode016 13cbb2b
Merge branch 'master' into bd-parachain-tutorial
CrackTheCode016 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
7 changes: 0 additions & 7 deletions
7
...dk/parachains/connect-to-relay-chain/acquire-a-testnet-slot/acquire-a-testnet-slot-2.html
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...kadot-sdk/parachains/connect-to-relay-chain/acquire-a-testnet-slot/deploy-on-paseo-3.html
This file contains 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,8 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>polkadot-omni-node key generate-node-key --base-path /tmp/parachain/pubs-demo --chain raw-parachain-chainspec.json</span> | ||
<br /> | ||
<span data-ty="progress">2024-09-11 09:48:15 Building chain spec</span> | ||
<span data-ty="progress">Generating key in "/tmp/parachain/pubs-demo/chains/live/network/secret_ed25519"</span> | ||
<span data-ty="progress">12D3KooWJH816dWizsft7MXVrv1nH3dHnGsHxD1qdyQm9mMAbo7Z</span> | ||
</div> | ||
|
10 changes: 2 additions & 8 deletions
10
...polkadot-sdk/parachains/connect-to-relay-chain/prepare-parachain/prepare-parachain-3.html
This file contains 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 |
---|---|---|
@@ -1,11 +1,5 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node build-spec \</span> | ||
<span data-ty>--chain plain-parachain-chainspec.json \</span> | ||
<span data-ty>--disable-default-bootnode \</span> | ||
<span data-ty>--raw > raw-parachain-chainspec.json</span> | ||
<span data-ty></span> | ||
<span data-ty>2024-09-10 14:34:58 Building chain spec</span> | ||
<span data-ty>2024-09-10 14:34:59 assembling new collators for new session 0 at #0</span> | ||
<span data-ty>2024-09-10 14:34:59 assembling new collators for new session 1 at #0</span> | ||
<span data-ty="input"><span class="file-path"></span>polkadot-omni-node export-genesis-state --chain raw-parachain-chainspec.json para-2000-genesis-state</span> | ||
<span data-ty>2024-09-10 14:41:13 🔨 Initializing Genesis block/state (state: 0xb089…1830, header-hash: 0x6b0b…bd69)</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
19 changes: 17 additions & 2 deletions
19
...polkadot-sdk/parachains/connect-to-relay-chain/prepare-parachain/prepare-parachain-4.html
This file contains 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 |
---|---|---|
@@ -1,5 +1,20 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node export-genesis-state \ --chain raw-parachain-chainspec.json para-2000-genesis-state</span> | ||
<span data-ty>2024-09-10 14:41:13 🔨 Initializing Genesis block/state (state: 0xb089…1830, header-hash: 0x6b0b…bd69)</span> | ||
<span data-ty="input"><span class="file-path"></span>polkadot-omni-node \</span> | ||
<span data-ty>--charlie \</span> | ||
<span data-ty>--collator \</span> | ||
<span data-ty>--force-authoring \</span> | ||
<span data-ty>--chain raw-parachain-chainspec.json \</span> | ||
<span data-ty>--base-path /tmp/charlie-parachain/ \</span> | ||
<span data-ty>--unsafe-force-node-key-generation \</span> | ||
<span data-ty>--port 40333 \</span> | ||
<span data-ty>--rpc-port 8844 \</span> | ||
<span data-ty>-- \</span> | ||
<span data-ty>--chain INSERT_RELAY_CHAIN_PATH/local-raw-spec.json \</span> | ||
<span data-ty>--port 30333 \</span> | ||
<span data-ty>--rpc-port 9946</span> | ||
<span data-ty></span> | ||
<span data-ty>2024-09-10 16:26:30 [Parachain] PoV size { header: 0.21875kb, extrinsics: 3.6103515625kb, storage_proof: 3.150390625kb }</span> | ||
<span data-ty>2024-09-10 16:26:30 [Parachain] Compressed PoV size: 6.150390625kb</span> | ||
<span data-ty>2024-09-10 16:26:33 [Relaychain] 💤 Idle (2 peers), best: #1729 (0x3aa4…cb6b), finalized #1726 (0xff7a…4352), ⬇ 9.1kiB/s ⬆ 3.8kiB/s</span> | ||
<span data-ty="input"><span class="file-path"></span></span> | ||
</div> |
20 changes: 0 additions & 20 deletions
20
...polkadot-sdk/parachains/connect-to-relay-chain/prepare-parachain/prepare-parachain-5.html
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+16.7 KB
...k/parachains/connect-to-relay-chain/acquire-a-testnet-slot/acquire-a-testnet-slot-10.webp
Binary file not shown.
Binary file added
BIN
+55.5 KB
...dk/parachains/connect-to-relay-chain/acquire-a-testnet-slot/acquire-a-testnet-slot-9.webp
Binary file not shown.
This file contains 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 |
---|---|---|
|
@@ -3,4 +3,5 @@ nav: | |
- index.md | ||
- local-chain | ||
- connect-to-relay-chain | ||
- deploy-to-relay-chain | ||
- build-custom-pallet |
7 changes: 3 additions & 4 deletions
7
tutorials/polkadot-sdk/parachains/connect-to-relay-chain/.pages
This file contains 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
title: Connect to a Relay Chain | ||
title: Connect to a Local Relay Chain | ||
nav: | ||
- index.md | ||
- 'Prepare Relay Chain': prepare-relay-chain.md | ||
- 'Prepare Parachain': prepare-parachain.md | ||
- 'Acquire a TestNet Slot': acquire-a-testnet-slot.md | ||
- 'Prepare A Local Relay Chain': prepare-relay-chain.md | ||
- 'Prepare Local Parachain': prepare-parachain.md |
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/.pages
This file contains 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,4 @@ | ||
title: Deploy to a Relay Chain | ||
nav: | ||
- index.md | ||
- 'Deploy on Paseo TestNet': deploy-on-paseo.md |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a placeholder instead of 4508 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only reason it's that specific ID is because earlier the para id reserved is
4508