Skip to content

polkadot-parachain: add manual seal support#5586

Merged
serban300 merged 15 commits into
paritytech:masterfrom
serban300:polkadot-parachain-manual-seal
Oct 2, 2024
Merged

polkadot-parachain: add manual seal support#5586
serban300 merged 15 commits into
paritytech:masterfrom
serban300:polkadot-parachain-manual-seal

Conversation

@serban300

@serban300 serban300 commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

Resolves #5026

This PR adds support for starting a dev node with manual seal consensus. This can be done by using the --dev-block-time argument . For example:

polkadot-parachain --chain asset-hub-rococo-dev --dev-block-time 5000 --tmp

@serban300 serban300 added R0-no-crate-publish-required The change does not require any crates to be re-published. T0-node This PR/Issue is related to the topic “node”. labels Sep 4, 2024
@serban300 serban300 self-assigned this Sep 4, 2024
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/command.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/cli.rs Outdated

@skunert skunert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not look at the manual_seal.rs code itself yet, will make one more pass.

Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/cli.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/common/mod.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/common/mod.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/nodes/mod.rs
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/command.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/command.rs
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/nodes/manual_seal.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/nodes/manual_seal.rs Outdated
Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/command.rs

@skunert skunert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/cli.rs Outdated

@kianenigma kianenigma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming all open discussions are well addressed and closed :)

@kianenigma

Copy link
Copy Markdown
Contributor

Final request: PR description also seems out of date wrt example 🙏

Comment thread cumulus/polkadot-parachain/polkadot-parachain-lib/src/cli.rs
@serban300

Copy link
Copy Markdown
Contributor Author

Final request: PR description also seems out of date wrt example 🙏

Sorry, missed it. Done.

@serban300 serban300 enabled auto-merge October 2, 2024 12:41
@serban300 serban300 added this pull request to the merge queue Oct 2, 2024
Merged via the queue into paritytech:master with commit 3cf83ca Oct 2, 2024
@serban300 serban300 deleted the polkadot-parachain-manual-seal branch October 2, 2024 15:05
github-merge-queue Bot pushed a commit that referenced this pull request Oct 4, 2024
Removing the shell node variant for the polkadot-parachain as discussed
here:
#5586 (comment)

Resolves #5898
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Omni-node: add support for starting a dev chain with manual seal

3 participants