Skip to content
Unverified Commit bdf18687 authored by Joshy Orndorff's avatar Joshy Orndorff Committed by GitHub
Browse files

`polkadot-parachain-primitives` should not depend on `frame-support`. (#1897)



This PR does not make any functional changes to the code. Rather, it
restructures the dependency graph.

Before this PR, the crate `polkadot-parachain-primitives` depended
directly on the crate `frame-support`. This is wrong in principal
because a parachain does not necessarily have anything to do with frame.

This dependency was only for the `Weight` type which was just a
re-export from `sp-weights` anyway. So this PR changes the dependency to
be directly on the much lighter `sp-weights`.

---------

Co-authored-by: default avatarJoshy Orndorff <[email protected]>
Co-authored-by: command-bot <>
parent f6560c2b
Pipeline #405210 passed with stages
in 1 hour, 30 minutes, and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment