Skip to content

fix: Remove block number from p2p proposals and attestations#17886

Merged
spalladino merged 1 commit intonextfrom
palla/remove-blocknumber-from-proposals
Oct 24, 2025
Merged

fix: Remove block number from p2p proposals and attestations#17886
spalladino merged 1 commit intonextfrom
palla/remove-blocknumber-from-proposals

Conversation

@spalladino
Copy link
Contributor

Block number was NOT being signed over, this meant any node could tweak it and cause receiving nodes to consider the proposal incorrect. We fix this by fetching the parent node using the last archive root (which required adding new indices to the archiver) and computing the block number by adding one to it.

As for attestations, the block number was not used at all, so we could remove it.

Fixes A-128

@spalladino spalladino added the ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure label Oct 22, 2025
@spalladino spalladino force-pushed the palla/remove-blocknumber-from-proposals branch 2 times, most recently from 27635ee to 45a69a5 Compare October 22, 2025 22:01
@spalladino spalladino force-pushed the palla/remove-blocknumber-from-proposals branch from 45a69a5 to 522beb3 Compare October 22, 2025 22:16
@AztecBot AztecBot requested a review from a team October 22, 2025 22:27
@PhilWindle PhilWindle added this pull request to the merge queue Oct 23, 2025
@PhilWindle PhilWindle removed this pull request from the merge queue due to a manual request Oct 23, 2025
@ludamad ludamad requested a review from charlielye as a code owner October 23, 2025 16:01
@spalladino spalladino force-pushed the palla/remove-blocknumber-from-proposals branch 2 times, most recently from 6d1b160 to 7209394 Compare October 23, 2025 17:45
@spalladino spalladino removed the request for review from charlielye October 23, 2025 17:45
@spalladino spalladino force-pushed the palla/remove-blocknumber-from-proposals branch 2 times, most recently from a07d7b5 to 2e85bce Compare October 23, 2025 20:11
@spalladino spalladino added this pull request to the merge queue Oct 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2025
Block number was NOT being signed over, this meant any node could tweak
it and cause receiving nodes to consider the proposal incorrect. We fix
this by fetching the parent node using the last archive root (which
required adding new indices to the archiver) and computing the block
number by adding one to it.

As for attestations, the block number was not used at all, so we could
remove it.
@spalladino spalladino force-pushed the palla/remove-blocknumber-from-proposals branch from 2e85bce to de6b4d4 Compare October 24, 2025 12:45
@spalladino spalladino added this pull request to the merge queue Oct 24, 2025
Merged via the queue into next with commit e122458 Oct 24, 2025
14 checks passed
@spalladino spalladino deleted the palla/remove-blocknumber-from-proposals branch October 24, 2025 16:55
@AztecBot
Copy link
Collaborator

❌ Failed to cherry-pick to v2 due to conflicts. Please backport manually.

spalladino added a commit that referenced this pull request Oct 24, 2025
Block number was NOT being signed over, this meant any node could tweak
it and cause receiving nodes to consider the proposal incorrect. We fix
this by fetching the parent node using the last archive root (which
required adding new indices to the archiver) and computing the block
number by adding one to it.

As for attestations, the block number was not used at all, so we could
remove it.

Fixes A-128
spalladino added a commit that referenced this pull request Oct 24, 2025
…#17948)

Block number was NOT being signed over, this meant any node could tweak
it and cause receiving nodes to consider the proposal incorrect. We fix
this by fetching the parent node using the last archive root (which
required adding new indices to the archiver) and computing the block
number by adding one to it.

As for attestations, the block number was not used at all, so we could
remove it.

Fixes A-128
spalladino added a commit that referenced this pull request Oct 28, 2025
…#17948)

Block number was NOT being signed over, this meant any node could tweak
it and cause receiving nodes to consider the proposal incorrect. We fix
this by fetching the parent node using the last archive root (which
required adding new indices to the archiver) and computing the block
number by adding one to it.

As for attestations, the block number was not used at all, so we could
remove it.

Fixes A-128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v2 ci-merge-queue ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants