Skip to content

Add executable gossip validation functions for capella - #5049

Merged
jtraglia merged 13 commits into
ethereum:masterfrom
jtraglia:executable-networking-specs-capella
Apr 22, 2026
Merged

Add executable gossip validation functions for capella#5049
jtraglia merged 13 commits into
ethereum:masterfrom
jtraglia:executable-networking-specs-capella

Conversation

@jtraglia

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added testing CI, actions, tests, testing infra capella labels Mar 27, 2026
@jtraglia

jtraglia commented Mar 27, 2026

Copy link
Copy Markdown
Member Author

@nflaig if you have time to test, these are just the BTEC tests: reftests.zip [updated]

Note: We can do the full capella test suite after the altair/bellatrix PRs are merged & rebased onto this branch.

@nflaig

nflaig commented Apr 5, 2026

Copy link
Copy Markdown
Member

@nflaig if you have time to test, these are just the BTEC tests: reftests.zip [updated]

looks good to me, passing all these tests

nflaig added a commit to ChainSafe/lodestar that referenced this pull request Apr 8, 2026
See ethereum/consensus-specs#5047 and
ethereum/consensus-specs#5049

---------

Co-authored-by: Lodekeeper <258435968+lodekeeper@users.noreply.github.com>
Co-authored-by: Cayman <caymannava@gmail.com>
Comment thread tests/formats/networking/gossip_validation.md Outdated
Comment thread specs/capella/p2p-interface.md
Comment thread specs/capella/p2p-interface.md
Comment thread specs/capella/p2p-interface.md
Comment thread specs/capella/p2p-interface.md Outdated
Comment thread specs/capella/p2p-interface.md Outdated
Comment thread specs/capella/p2p-interface.md Outdated

@jihoonsong jihoonsong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great great!

@jtraglia
jtraglia merged commit dd834d4 into ethereum:master Apr 22, 2026
15 checks passed
@jtraglia
jtraglia deleted the executable-networking-specs-capella branch April 22, 2026 16:17
dapplion pushed a commit to dapplion/consensus-specs that referenced this pull request May 19, 2026
Two upstream tests added by ethereum/consensus-specs PRs ethereum#5033 and ethereum#5049
assume Ethereum mainnet's larger default test state where validators are
sparse across sync committee subnets. On the Gnosis (this fork's mainnet)
preset the default state has 128 validators, exactly equal to the
subcommittee size, so:

- test_gossip_sync_committee_contribution_and_proof__reject_aggregator_not_in_subcommittee:
  no validator exists outside the subcommittee, so the negative mutation
  is a no-op and validation correctly returns valid.
- test_gossip_sync_committee_message__reject_wrong_subnet: validators occupy
  all subnets, so every subnet is valid for them and there is no wrong
  subnet to pick.

Detect both cases and return early with a comment, matching the precedent
set by PR #3's adaptations (e.g. test_switch_to_compounding_requests_when_too_little_consolidation_churn_limit).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capella networking testing CI, actions, tests, testing infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants