-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cumulus-primitives-parachain-inherent
: Split into two crates (#2803)
This splits `cumulus-primitives-parachain-inherent` into two crates, the previous `cumulus-primitives-parachain-inherent` and a new `cumulus-client-parachain-inherent`. The idea behind this is to move the `create_at` logic into the client crate. This removes quite a lot of unrelated dependencies from the runtime std build and thus, makes the compilation faster. On my Laptop the compilation is goes down by one minute for `asset-hub-rococo-runtime`. I also assume that the full build of the entire workspace probably can be speed-up a little bit, because more stuff can be compiled in parallel. --------- Co-authored-by: command-bot <>
- Loading branch information
Showing
15 changed files
with
122 additions
and
63 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[package] | ||
name = "cumulus-client-parachain-inherent" | ||
version = "0.1.0" | ||
authors.workspace = true | ||
edition.workspace = true | ||
description = "Inherent that needs to be present in every parachain block. Contains messages and a relay chain storage-proof." | ||
license = "Apache-2.0" | ||
|
||
[dependencies] | ||
async-trait = "0.1.73" | ||
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] } | ||
scale-info = { version = "2.10.0", features = ["derive"] } | ||
tracing = { version = "0.1.37" } | ||
|
||
# Substrate | ||
sc-client-api = { path = "../../../substrate/client/api" } | ||
sp-api = { path = "../../../substrate/primitives/api" } | ||
sp-core = { path = "../../../substrate/primitives/core" } | ||
sp-inherents = { path = "../../../substrate/primitives/inherents" } | ||
sp-runtime = { path = "../../../substrate/primitives/runtime" } | ||
sp-state-machine = { path = "../../../substrate/primitives/state-machine" } | ||
sp-std = { path = "../../../substrate/primitives/std" } | ||
sp-storage = { path = "../../../substrate/primitives/storage" } | ||
sp-trie = { path = "../../../substrate/primitives/trie" } | ||
|
||
# Cumulus | ||
cumulus-primitives-core = { path = "../../primitives/core" } | ||
cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } | ||
cumulus-relay-chain-interface = { path = "../relay-chain-interface" } | ||
cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.