-
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.
[Substrate.io Migration] Tutorials -> Build a Parachain -> Acquire a …
…TestNet Slot (#28) * fix: adding prepare substrate relay chain * fiox: formatting error * fix: description * fix: paraphrasing * fix: vale warning * fix: formatting * fix: adding conclusion to the tutorial * fix: formatting * fix: formatting * git: adding intro and build the parachain template section * fix: adding wip * fix: updating prepare relay chain output and commands * fix: adding build a parachain complete process * fix: vale suggestion * fix: adding acquire a slot on testnet wip * fix: adding admin account example * fix: typos * fix: typo * fix: typo * fix: formatting * fix: formatting * fix: typo and adding abs route to build a local blockchain tutorial * fix: paraphrasing * fix: updating deprecated route * fix: paraphrasing * fix: formatting * fix: chain specs decoupled from substrate website * Update tutorials/polkadot-sdk/build-a-parachain/prepare-relay-chain.md Co-authored-by: 0xLucca <95830307+0xLucca@users.noreply.github.com> * fix: typo * fix: removing redundant commands on terminal elements * fix: adding disclaimer for chain spec generation * fix: removing redundant commands on terminal elements * fix: removing unnecessary info * fix: addin small clarification about sudo txs * fix: clarification about sudo changes * Update tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain.md Co-authored-by: 0xLucca <95830307+0xLucca@users.noreply.github.com> * fix: adding missing terminal output * fix: adding image to register with the local relay chain process, step 6 * Apply suggestions from code review Co-authored-by: Erin Shaben <eshaben@icloud.com> * fix: moving terminal outputs to code snippets * fix: adding clarification over resetting bc state * fix: replacing Polkadot.Js by Polkadot.js * fix: update acquire-a-testnet-slot to paseo and coretime docs * fix: adding hook to further tutorials * clean up formatting and grammar * fix snippet * fix typo * update .pages file * Merge remote-tracking branch 'origin/master' into nhussein11/tutorials-substrate-acquire-a-testnet-slot * Update tutorials/polkadot-sdk/build-a-parachain/acquire-a-testnet-slot.md Co-authored-by: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com> * Update tutorials/polkadot-sdk/build-a-parachain/prepare-relay-chain.md Co-authored-by: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com> * fix: decoupling from substrate documentation * fix: adding missed colons --------- Co-authored-by: 0xLucca <95830307+0xLucca@users.noreply.github.com> Co-authored-by: Erin Shaben <eshaben@icloud.com> Co-authored-by: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com>
- Loading branch information
1 parent
f37b35f
commit 3355278
Showing
38 changed files
with
472 additions
and
248 deletions.
There are no files selected for viewing
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
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: 2 additions & 2 deletions
4
.snippets/code/develop/application-devs/tooling/asset-transfer-api/overview/setup.ts
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
14 changes: 7 additions & 7 deletions
14
...code/develop/application-devs/tooling/asset-transfer-api/reference/ctt-example-request.ts
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
10 changes: 5 additions & 5 deletions
10
.../code/develop/application-devs/tooling/asset-transfer-api/reference/de-example-request.ts
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
2 changes: 1 addition & 1 deletion
2
.snippets/code/develop/application-devs/tooling/asset-transfer-api/reference/format.ts
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 +1 @@ | ||
export type Format = "payload" | "call" | "submittable"; | ||
export type Format = 'payload' | 'call' | 'submittable'; |
66 changes: 33 additions & 33 deletions
66
.snippets/code/develop/parachain-devs/interoperability/hrmp-channels/hrmp-query-output.json
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,38 +1,38 @@ | ||
[ | ||
[ | ||
[ | ||
{ | ||
"sender": 1000, | ||
"recipient": 2500 | ||
} | ||
[ | ||
{ | ||
"sender": 1000, | ||
"recipient": 2500 | ||
} | ||
], | ||
{ | ||
"maxCapacity": 8, | ||
"maxTotalSize": 8192, | ||
"maxMessageSize": 1048576, | ||
"msgCount": 0, | ||
"totalSize": 0, | ||
"mqcHead": null, | ||
"senderDeposit": 0, | ||
"recipientDeposit": 0 | ||
} | ||
], | ||
{ | ||
"maxCapacity": 8, | ||
"maxTotalSize": 8192, | ||
"maxMessageSize": 1048576, | ||
"msgCount": 0, | ||
"totalSize": 0, | ||
"mqcHead": null, | ||
"senderDeposit": 0, | ||
"recipientDeposit": 0 | ||
} | ||
], | ||
[ | ||
[ | ||
{ | ||
"sender": 2500, | ||
"recipient": 1000 | ||
} | ||
], | ||
{ | ||
"maxCapacity": 8, | ||
"maxTotalSize": 8192, | ||
"maxMessageSize": 1048576, | ||
"msgCount": 0, | ||
"totalSize": 0, | ||
"mqcHead": null, | ||
"senderDeposit": 0, | ||
"recipientDeposit": 0 | ||
} | ||
] | ||
[ | ||
{ | ||
"sender": 2500, | ||
"recipient": 1000 | ||
} | ||
], | ||
{ | ||
"maxCapacity": 8, | ||
"maxTotalSize": 8192, | ||
"maxMessageSize": 1048576, | ||
"msgCount": 0, | ||
"totalSize": 0, | ||
"mqcHead": null, | ||
"senderDeposit": 0, | ||
"recipientDeposit": 0 | ||
} | ||
] | ||
] |
25 changes: 25 additions & 0 deletions
25
.../code/tutorials/polkadot-sdk/build-a-parachain/acquire-a-testnet-slot/testnet-slot-1.json
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,25 @@ | ||
{ | ||
"...": "...", | ||
"relay_chain": "paseo", | ||
"para_id": 4508, | ||
"genesis": { | ||
"runtime": { | ||
"...": {}, | ||
"parachainInfo": { | ||
"parachainId": 4508 | ||
}, | ||
"session": { | ||
"keys": [ | ||
[ | ||
"5HErbKmL5JmUKDVsH1aGyXTGZb4i9iaNsFhSgkNDr8qp2Dvj", | ||
"5HErbKmL5JmUKDVsH1aGyXTGZb4i9iaNsFhSgkNDr8qp2Dvj", | ||
{ | ||
"aura": "5HErbKmL5JmUKDVsH1aGyXTGZb4i9iaNsFhSgkNDr8qp2Dvj" | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"...": {} | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
...ct-a-parachain/raw-chain-spec-terminal.md → ...cquire-a-testnet-slot/testnet-slot-2.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,7 +1,7 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>./target/release/parachain-template-node build-spec --chain plain-parachain-chainspec.json --disable-default-bootnode --raw > raw-parachain-chainspec.json</span> | ||
<span data-ty="progress">2024-09-10 14:34:58 Building chain spec</span> | ||
<span data-ty="progress">2024-09-10 14:34:59 assembling new collators for new session 0 at #0</span> | ||
<span data-ty="progress">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></span> | ||
</div> | ||
<br /> | ||
<span data-ty="progress">2024-09-11 09:48:15 Building chain spec</span> | ||
<span data-ty="progress">2024-09-11 09:48:15 assembling new collators for new session 0 at #0</span> | ||
<span data-ty="progress">2024-09-11 09:48:15 assembling new collators for new session 1 at #0</span> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
...ode/tutorials/polkadot-sdk/build-a-parachain/connect-a-parachain/connect-a-parachain-1.rs
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,13 @@ | ||
parameter_types! { | ||
pub const ParaDeposit: Balance = 40 * UNITS; | ||
} | ||
|
||
impl paras_registrar::Config for Runtime { | ||
type RuntimeOrigin = RuntimeOrigin; | ||
type RuntimeEvent = RuntimeEvent; | ||
type Currency = Balances; | ||
type OnSwap = (Crowdloan, Slots); | ||
type ParaDeposit = ParaDeposit; | ||
type DataDepositPerByte = DataDepositPerByte; | ||
type WeightInfo = weights::runtime_common_paras_registrar::WeightInfo<Runtime>; | ||
} |
Oops, something went wrong.