From 4a64f00806c7f028ccec7da18c05e269961e89f4 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Fri, 7 Aug 2026 18:56:38 +0100 Subject: [PATCH 1/3] chore: add debug log when proposer slashing production is skipped --- packages/beacon-node/src/chain/chain.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/beacon-node/src/chain/chain.ts b/packages/beacon-node/src/chain/chain.ts index ec3ba0dcf7d4..0ee1714b56f2 100644 --- a/packages/beacon-node/src/chain/chain.ts +++ b/packages/beacon-node/src/chain/chain.ts @@ -1174,11 +1174,15 @@ export class BeaconChain implements IBeaconChain { /** Produce a proposer slashing from two conflicting signed block headers observed for the same slot and proposer */ private async produceProposerSlashing(blockSlot: Slot, proposerIndex: ValidatorIndex): Promise { - if ( - this.opts.disableProposerSlashings === true || - this.opPool.hasSeenProposerSlashing(proposerIndex) || - this.producingProposerSlashing.has(proposerIndex) - ) { + if (this.opts.disableProposerSlashings === true || this.producingProposerSlashing.has(proposerIndex)) { + return; + } + + if (this.opPool.hasSeenProposerSlashing(proposerIndex)) { + this.logger.debug("Not producing proposer slashing, slashing for proposer is already known", { + slot: blockSlot, + proposerIndex, + }); return; } From 9742678723a668c5fe24c409dff2e89d31d425e5 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Fri, 7 Aug 2026 18:58:54 +0100 Subject: [PATCH 2/3] chore: reword skipped production log --- packages/beacon-node/src/chain/chain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-node/src/chain/chain.ts b/packages/beacon-node/src/chain/chain.ts index 0ee1714b56f2..0c1ff627b301 100644 --- a/packages/beacon-node/src/chain/chain.ts +++ b/packages/beacon-node/src/chain/chain.ts @@ -1179,7 +1179,7 @@ export class BeaconChain implements IBeaconChain { } if (this.opPool.hasSeenProposerSlashing(proposerIndex)) { - this.logger.debug("Not producing proposer slashing, slashing for proposer is already known", { + this.logger.debug("Not producing proposer slashing, one is already known for the proposer", { slot: blockSlot, proposerIndex, }); From 85d81d51ffb007c54114af8d344bb29be75d7f5c Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Fri, 7 Aug 2026 19:00:33 +0100 Subject: [PATCH 3/3] chore: reword skipped production log --- packages/beacon-node/src/chain/chain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-node/src/chain/chain.ts b/packages/beacon-node/src/chain/chain.ts index 0c1ff627b301..56609b81a0c7 100644 --- a/packages/beacon-node/src/chain/chain.ts +++ b/packages/beacon-node/src/chain/chain.ts @@ -1179,7 +1179,7 @@ export class BeaconChain implements IBeaconChain { } if (this.opPool.hasSeenProposerSlashing(proposerIndex)) { - this.logger.debug("Not producing proposer slashing, one is already known for the proposer", { + this.logger.debug("Not producing proposer slashing, already in the op pool", { slot: blockSlot, proposerIndex, });