Skip to content

Commit cb4262e

Browse files
bkchrgithub-actions[bot]iulianbarbumichalkucharczyk
authored
Proposer/BlockBuilder: Accept proof recorder & extensions (#9947)
This pull request fundamentally changes how `Proposer` and `BlockBuilder` are handling the proof recorder and extensions. Before this pull request the proof recorder was initialized by the `BlockBuilder` and the proposer statically enabled proof recording or disabled it. With this pull request the proof recorder is passed from the the caller down to the block builder. This also moves the responsibility for extracting the final storage proof to the caller and is not part of the block builder logic anymore. The extensions are now also configurable by the caller and are not longer "guessed" by the block builder. This pull request also remvoes the `cumulus-client-proposer` crate as it is not really required anymore. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: Michal Kucharczyk <[email protected]>
1 parent c688963 commit cb4262e

File tree

46 files changed

+667
-771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+667
-771
lines changed

Cargo.lock

Lines changed: 10 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ members = [
6767
"cumulus/client/collator",
6868
"cumulus/client/consensus/aura",
6969
"cumulus/client/consensus/common",
70-
"cumulus/client/consensus/proposer",
7170
"cumulus/client/consensus/relay-chain",
7271
"cumulus/client/network",
7372
"cumulus/client/parachain-inherent",
@@ -749,7 +748,6 @@ cumulus-client-cli = { path = "cumulus/client/cli", default-features = false }
749748
cumulus-client-collator = { path = "cumulus/client/collator", default-features = false }
750749
cumulus-client-consensus-aura = { path = "cumulus/client/consensus/aura", default-features = false }
751750
cumulus-client-consensus-common = { path = "cumulus/client/consensus/common", default-features = false }
752-
cumulus-client-consensus-proposer = { path = "cumulus/client/consensus/proposer", default-features = false }
753751
cumulus-client-consensus-relay-chain = { path = "cumulus/client/consensus/relay-chain", default-features = false }
754752
cumulus-client-network = { path = "cumulus/client/network", default-features = false }
755753
cumulus-client-parachain-inherent = { path = "cumulus/client/parachain-inherent", default-features = false }

cumulus/client/consensus/aura/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sp-blockchain = { workspace = true, default-features = true }
3737
sp-consensus = { workspace = true, default-features = true }
3838
sp-consensus-aura = { workspace = true, default-features = true }
3939
sp-core = { workspace = true, default-features = true }
40+
sp-externalities = { workspace = true, default-features = true }
4041
sp-inherents = { workspace = true, default-features = true }
4142
sp-keystore = { workspace = true, default-features = true }
4243
sp-runtime = { workspace = true, default-features = true }
@@ -47,7 +48,6 @@ sp-trie = { workspace = true, default-features = true }
4748
# Cumulus
4849
cumulus-client-collator = { workspace = true, default-features = true }
4950
cumulus-client-consensus-common = { workspace = true, default-features = true }
50-
cumulus-client-consensus-proposer = { workspace = true, default-features = true }
5151
cumulus-client-parachain-inherent = { workspace = true, default-features = true }
5252
cumulus-primitives-aura = { workspace = true, default-features = true }
5353
cumulus-primitives-core = { workspace = true, default-features = true }

0 commit comments

Comments
 (0)