-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tutorials: Update parachain tutorial (#234)
* updates so far * Add finishing touches * comments * Apply suggestions from code review Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com> * change to chain-spec-builder * Update tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com> * feedback * replace parachain-template-node * fix most instructions * few things --------- Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com> Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
- Loading branch information
1 parent
f18d770
commit 37ee5fe
Showing
14 changed files
with
146 additions
and
118 deletions.
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.