Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented Jul 27, 2023

Solves #483

This PR adds a "development service" to the parachain template node. When this development service is used, there is no backing relay chain and a much lighter service based on manual seal is used. The full parachain runtime is still used, and the parachain inherent is mocked.

Currently the block time is still set to 12 seconds to match real parachains, but it could be lowered considerably and the dev service will still work. Or we could mock the timestamp inherent so that the runtime still thinks it is 12 second blocks but it could be less wall clock time.

TODO: We are using the incorrect parachain block import in the import queue which means that peers' blocks will not be marked best when imported.

To test it out:

./taget/release/parachain-template-node dev-service --dev

cc @shawntabrizi @kianenigma This is what I understood we want PBA students to use as a starting point for their frame assignments.

@JoshOrndorff JoshOrndorff marked this pull request as draft July 27, 2023 07:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant