Skip to content

chore: Accumulated backports to v4-next#23133

Merged
AztecBot merged 1 commit into
v4-nextfrom
backport-to-v4-next-staging
May 10, 2026
Merged

chore: Accumulated backports to v4-next#23133
AztecBot merged 1 commit into
v4-nextfrom
backport-to-v4-next-staging

Conversation

@AztecBot

@AztecBot AztecBot commented May 10, 2026

Copy link
Copy Markdown
Collaborator

BEGIN_COMMIT_OVERRIDE
refactor(pxe): short-circuit block header lookup at anchor block (#23128)
END_COMMIT_OVERRIDE

)

## Summary

- Skip the `aztecNode.getBlock` RPC in `getBlockHeader` when the
requested block number matches the anchor — the anchor's header is
already in memory.
- Most utility executions query state at the anchor block, so this
avoids a redundant round-trip on the hot path.

Co-authored-by: Nico Chamo <nico.chamo@gmail.com>

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 Auto-approved

@AztecBot AztecBot merged commit 44aa848 into v4-next May 10, 2026
13 checks passed
@AztecBot

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 8 hours of inactivity. This PR will be merged automatically once all checks pass.

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.

3 participants