Ensure separation of dependencies in Substrate, Cumulus, Polkadot is maintained #1318
Labels
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
I5-enhancement
An additional feature request.
In the monorepo, I propose we ensure separation of dependencies in Substrate, Cumulus, Polkadot is maintained, so these can be independent of each other long term. It feels easy to bring in dependencies across boundaries that will erode the independence of the three projects.
If I understand correctly, this is the dependency tree that should be enforced:
I see there is a Substrate specific script that could be repurposed/expanded for Cumulus, Polkadot, and the whole monorepo:
https://github.com/paritytech/polkadot-sdk/blob/43c0c09bcb9a4db0856598dd07357c0b7292bb84/.gitlab/ensure-deps.sh#L16-L23CI
For reference this blog highlights the easy coupling we inevitably will see hidden by the directory structure, but not the dependency graph.
The text was updated successfully, but these errors were encountered: