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>
An accepted PQ proposer or attester slashing was relayed and then dropped, so a block this node proposed could never include it. It now goes to the operation pool, as a gloas slashing does. 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
At PQ, an accepted proposer or attester slashing was relayed and then dropped.
PqValidated::forwardhanded nothing on, so a block this node proposed could never include it.The PQ p2p spec keeps both topics, and a gloas slashing accepted on gossip already goes to the operation pool.
What Changed
operation.rs(first commit): the operation pool holds PQ proposer and attester slashings in two lists of their own, keyed and pruned as the other slashings are.The pruning rule for attester slashings is one helper shared by both kinds.
beacon/pq.rs: an accepted PQ slashing goes to the operation pool.The first commit is shared verbatim with #1007 and #1008.
Whichever merges first, the others drop it on rebase.
#1008 packs the pooled slashings into a PQ block.
Tests Added / Run
the_first_pq_slashing_per_key_is_keptandprune_drops_pq_slashings_with_nobody_left_to_slash: the PQ lists keep the first entry per key, and pruning drops the slashings that slash nobody.an_accepted_pq_slashing_is_pooled: an accepted slashing of each kind is pooled; a rejected or overloaded one is not.It fails with the pooling removed.
cargo test --profile release-fast -p ethlambda-storage -p ethlambda-p2p: 260 and 537 passed.cargo fmt --all --checkandcargo clippy --profile release-fast -p ethlambda-storage -p ethlambda-p2p --all-targets -- -D warnings: clean.🤖 Generated with Claude Code