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

Building the Collator builds all the Polkadot runtimes. #175

Open
JoshOrndorff opened this issue Aug 4, 2020 · 1 comment
Open

Building the Collator builds all the Polkadot runtimes. #175

JoshOrndorff opened this issue Aug 4, 2020 · 1 comment
Labels
I9-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task.

Comments

@JoshOrndorff
Copy link
Contributor

When building the test collator with cargo build --release -p rococo-validator, all polkadot runtimes are built. For example it builds kusama-runtime, westend-runtime, polkadot-test-runtime, etc.

This is harmless in terms of correctness, but it adds a lot of build time.

@xlc
Copy link
Contributor

xlc commented Aug 11, 2020

Currently the upward-message crate depends on all four runtimes. The relay chain runtime should be feature gated so we don't need to pull & build unrelated code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I9-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants