Commit 94a215f
authored
feat!: checkpoint circuits (#16187)
Adding new checkpoint circuits as describe in the [design
doc](AztecProtocol/engineering-designs#73).
Things different to the doc:
- The parity root is verified in the first block root in a checkpoint.
This is to speed up the overall proving time.
- The `CheckpointHeader` is the same as the previous
`ProposedBlockHeader` - we will still be validating the same values on
L1 when submitting a checkpoint.
To make the e2e tests pass without changing too many things, each
checkpoint currently only contains one block. The existing "L2Block"
class represents a block and its checkpoint. And a temporary
`L2BlockHeader` is created for it, which has all the fields required to
construct a `BlockHeader` and a `CheckpointHeader`.
The orchestrator should already work correctly for multiple blocks per
checkpoint.File tree
284 files changed
+49311
-25975
lines changed- barretenberg/cpp/src/barretenberg
- vm2
- common
- testing
- world_state
- l1-contracts
- src/core/libraries
- test/fixtures
- noir-projects
- noir-protocol-circuits
- crates
- blob/src
- parity-lib/src
- root
- private-kernel-init
- private-kernel-inner
- private-kernel-lib/src/tests
- private_kernel_circuit_output_validator_builder
- private_kernel_circuit_public_inputs_composer_builder
- private-kernel-reset
- private-kernel-tail-to-public
- private-kernel-tail
- rollup-base-private
- rollup-base-public
- rollup-block-merge
- src
- rollup-block-root-empty/src
- rollup-block-root-first-empty-tx
- src
- rollup-block-root-first-simulated
- src
- rollup-block-root-first-single-tx-simulated
- src
- rollup-block-root-first-single-tx
- src
- rollup-block-root-first
- src
- rollup-block-root-padding/src
- rollup-block-root-simulated
- src
- rollup-block-root-single-tx-simulated
- src
- rollup-block-root-single-tx
- src
- rollup-block-root
- src
- rollup-checkpoint-merge
- src
- rollup-checkpoint-padding
- src
- rollup-checkpoint-root-simulated
- src
- rollup-checkpoint-root-single-block-simulated
- src
- rollup-checkpoint-root-single-block
- src
- rollup-checkpoint-root
- src
- rollup-lib/src
- abis
- base
- block_merge
- utils
- block_root
- components
- checkpoint_merge
- utils
- checkpoint_root
- components
- merge
- utils
- root
- tests
- rollup-merge
- rollup-root
- src
- types/src
- abis
- tests
- utils
- yarn-project
- archiver/src
- archiver
- kv_archiver_store
- test
- bb-prover/src
- prover/server
- test
- blob-lib
- src
- constants/src
- end-to-end/src
- e2e_l1_publisher
- e2e_multi_validator
- e2e_prover
- kv-store/src/stores
- noir-protocol-circuits-types/src
- artifacts
- vks
- conversion
- execution
- scripts
- p2p/src
- client
- test
- mem_pools/attestation_pool
- msg_validators
- attestation_validator
- block_proposal_validator
- services
- prover-client/src
- block-factory
- mocks
- orchestrator
- prover-client
- proving_broker
- test
- prover-node/src
- job
- pxe/src
- contract_function_simulator/oracle
- private_kernel
- synchronizer
- sequencer-client/src
- publisher
- sequencer
- simulator/artifacts
- stdlib/src
- block
- l2_block_stream
- test
- interfaces
- p2p
- proofs
- rollup
- __snapshots__
- stats
- tests
- tx
- __snapshots__
- txe/src
- oracle
- state_machine
- utils
- validator-client/src
- duties
- world-state/src
- native
- test
- world-state-db
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
284 files changed
+49311
-25975
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Binary file not shown.
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | 958 | | |
963 | 959 | | |
964 | 960 | | |
| |||
968 | 964 | | |
969 | 965 | | |
970 | 966 | | |
| 967 | + | |
971 | 968 | | |
972 | 969 | | |
973 | 970 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments