Skip to content

Conversation

@benesjan
Copy link
Contributor

@benesjan benesjan commented Jan 29, 2026

Discussed in DMs with @mverzilli that it doesn't make sense to pass around anchor block store to the execution oracles given that the anchor block needs to be fixed during the duration of the execution. Hence in this PR I am dropping it from the relevant constructors and instead just an anchor block header is passed around.

Related to this also makes sense to make the AnchorBlockStore work solely in memory and not with persistent db as we always first sync the block header from node before simulation. This will be tackled in a followup PR.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan requested a review from mverzilli January 29, 2026 13:16
Copy link
Contributor

@mverzilli mverzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lovely! just the one comment

@benesjan benesjan force-pushed the 01-29-refactor_passing_anchor_block_header_instead_of_block_store branch from ef6a64e to ea3ec69 Compare January 29, 2026 14:40
@benesjan benesjan enabled auto-merge January 29, 2026 16:41
Discussed in DMs with @mverzilli that it doesn't make sense to pass around anchor block store to the execution oracles given that the anchor block needs to be fixed during the duration of the execution. Hence in this PR I am dropping it from the relevant constructors and instead just an anchor block header is passed around.

Related to this also makes sense to make the `AnchorBlockStore` work solely in memory and not with persistent db as we always first sync the block header from node before simulation. This will be tackled in a followup PR.
@AztecBot AztecBot force-pushed the 01-29-refactor_passing_anchor_block_header_instead_of_block_store branch from 783c040 to 0e79d93 Compare January 29, 2026 16:45
@benesjan benesjan added this pull request to the merge queue Jan 29, 2026
@AztecBot
Copy link
Collaborator

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/aa152c5fe1275b97�aa152c5fe1275b978;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_p2p/reqresp.test.ts (344s) (code: 1) group:e2e-p2p-epoch-flakes (\033Jan Beneš\033: refactor: passing anchor block header instead of block store (#20043))

Merged via the queue into next with commit 4ffdee5 Jan 29, 2026
18 checks passed
@benesjan benesjan deleted the 01-29-refactor_passing_anchor_block_header_instead_of_block_store branch January 29, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants