Commit cb4262e
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- cumulus
- client/consensus
- aura
- src
- collators
- slot_based
- proposer
- src
- pallets/parachain-system/src/validate_block
- polkadot-omni-node/lib
- src/nodes
- test
- client
- src
- service
- src
- prdoc
- substrate
- bin/node
- bench/src
- cli/src
- client
- basic-authorship
- src
- block-builder
- src
- consensus
- aura/src
- babe/src
- manual-seal
- src
- consensus
- pow/src
- slots
- src
- primitives
- api/test/tests
- consensus/common
- src
- externalities/src
- utils/frame/benchmarking-cli/src/extrinsic
- templates/parachain/node/src
- umbrella
- src
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 changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
749 | 748 | | |
750 | 749 | | |
751 | 750 | | |
752 | | - | |
753 | 751 | | |
754 | 752 | | |
755 | 753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments