-
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
Conversation
Note that the IA may change in the future, but this should be fine for now. |
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md
Outdated
Show resolved
Hide resolved
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/index.md
Outdated
Show resolved
Hide resolved
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/index.md
Outdated
Show resolved
Hide resolved
requested review from some omni-node devs within Parity. |
@kianenigma FYI - The versions of |
The binaries should be downloadable from the release candidate artifacts here: https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-stable2412-rc2, but they will also be part of the next major polkadot-sdk release page, on github. However the latest crates versions can not be found anywhere yet, even with the release candidate. They should be published with the next major release. |
Co-authored-by: Nicolás Hussein <[email protected]>
...t-sdk/parachains/connect-to-relay-chain/acquire-a-testnet-slot/acquire-a-testnet-slot-2.html
Outdated
Show resolved
Hide resolved
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md
Outdated
Show resolved
Hide resolved
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md
Show resolved
Hide resolved
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.
In general this looks good to me 👍
...t-sdk/parachains/connect-to-relay-chain/acquire-a-testnet-slot/acquire-a-testnet-slot-2.html
Outdated
Show resolved
Hide resolved
tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md
Show resolved
Hide resolved
…evelopers/polkadot-docs into bd-parachain-tutorial
…-on-paseo.md Co-authored-by: Iulian Barbu <[email protected]>
Also, I think this PR closes: #176. Maybe worth adding it in the PR description. |
@0xLucca @nhussein11 This PR can probably be merged now, but we should test some of the local tutorials to make sure they are in working order with these new binaries before they are merged. I can address this tomorrow and make a new PR to ensure they are working if needed. WDYT? |
Also, it might be nice to have a page somewhere to explain the role of these different binaries, and links to where you can install them. Maybe even at the beginning of tutorials, would love to hear feedback on this |
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.
Overall looks good!👍 I haven't rendered the docs to check how they look like, and follow precisely along the tutorial, but I can take a look tomorrow more closely. Thanks!
./target/release/parachain-template-node build-spec \ | ||
--disable-default-bootnode > plain-parachain-chainspec.json | ||
chain-spec-builder create --relay-chain paseo \ | ||
--para-id 4508 \ |
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
./target/release/parachain-template-node build-spec \ | ||
--disable-default-bootnode > plain-parachain-chainspec.json | ||
chain-spec-builder create --relay-chain paseo \ | ||
--para-id 4508 \ |
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.
ditto
tutorials/polkadot-sdk/parachains/connect-to-relay-chain/prepare-parachain.md
Show resolved
Hide resolved
Note that the matter of specifying the parachain ID in the template is a bit shitty now, but Shawn improved it lately here: https://github.com/paritytech/polkadot-sdk/pull/6744/files One of the areas is a hardcoded para id in the node. one is the genesis config one in the runtime |
Can you please make an issue to address later that you can basically skip setting up a local relay by using |
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.
LGTM!
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.
LGTM!
* updates so far * Add finishing touches * comments * Apply suggestions from code review Co-authored-by: Nicolás Hussein <[email protected]> * change to chain-spec-builder * Update tutorials/polkadot-sdk/parachains/deploy-to-relay-chain/deploy-on-paseo.md Co-authored-by: Iulian Barbu <[email protected]> * feedback * replace parachain-template-node * fix most instructions * few things --------- Co-authored-by: Nicolás Hussein <[email protected]> Co-authored-by: Iulian Barbu <[email protected]>
Content Changes
This PR aims to better illustrate the process of deploying on Paseo and to use some of the 'cutting' edge tools which should be available soon (tm), such as:
polkadot-omni-node
chain-spec-builder
This PR also fills in some missing blanks throughout the Paseo deployment process.
IA Changes
This PR adds a new section to the IA called "Deploy on Relay Chain", wherein should contain tutorials relating to deploying on various networks.
Closes #176