Repository navigation
Conversation
The PQ proposer and attester slashings carry their own containers, so the pool keeps them in two lists of their own, keyed and pruned as the other forks' slashings are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The attester slashings pool route read only electra's container, so from PQ on a validator client could not submit a slashing, and the GET list answered with electra's slashings under the PQ version. From PQ on, by the wall clock's fork as the GET route already used, the route reads PQ's container, checks it with PQ's gossip rules, pools it and publishes it on the PQ digest's attester_slashing topic. The GET list returns the pool's PQ slashings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 6, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / Motivation
POST /eth/v2/beacon/pool/attester_slashingsread only electra's container.A PQ attester slashing carries a
proofwhere electra's carries asignature, so from PQ on a validator client could not submit one.The GET list also answered with the pool's electra slashings under the PQ version.
What Changed
operations.rs: from PQ on, by the wall clock's fork as the GET route already used, the POST route reads PQ's container.It checks it with PQ's gossip rules (
gossip::pq::attester_slashing_cheap_checks, then the stateful checks) on a blocking thread, pools it and publishes it.The GET route returns the pool's PQ slashings.
network-apiandp2p:PqGossipObject::AttesterSlashingis published on theattester_slashingtopic, under the digest of the wall clock's slot.operation.rs(first commit): the operation pool holds PQ slashings in lists of their own.It is shared verbatim with Pool the PQ slashings that gossip accepts #1006 and Pack the pooled slashings into a PQ block #1008; whichever merges first, the others drop it on rebase.
Before PQ, the routes are unchanged.
Tests Added / Run
from_pq_on_a_pq_attester_slashing_is_pooled_and_published: a slashing whose proof fails is refused and neither pooled nor published; a valid one is pooled, published as PQ's, and returned by GET underpq.It fails with the PQ branch removed.
cargo test --profile release-fast -p ethlambda-network-api -p ethlambda-p2p -p ethlambda-rpc -p ethlambda-storage: all passed.cargo fmt --all --checkandcargo clippy --locked --profile release-faston those crates with--all-targets -- -D warnings: clean.🤖 Generated with Claude Code