From e8287758d52ffc2862ee928e3318b573a19495ee Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 23 Jun 2026 11:40:50 +0300 Subject: [PATCH] Revert comment removal --- beacon_node/beacon_chain/src/block_production/gloas.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/beacon_node/beacon_chain/src/block_production/gloas.rs b/beacon_node/beacon_chain/src/block_production/gloas.rs index d52f5c5177..f84ad65e12 100644 --- a/beacon_node/beacon_chain/src/block_production/gloas.rs +++ b/beacon_node/beacon_chain/src/block_production/gloas.rs @@ -1100,6 +1100,13 @@ where Ok(block_contents) } +/// Drop voluntary exits whose target validators will be exited by the parent envelope's +/// execution requests. +/// +/// In Gloas the parent execution payload is processed before voluntary exits during block +/// processing. EL-triggered withdrawal-full-exit requests (EIP-7002) and cross-pubkey +/// consolidation requests (EIP-7251) call `initiate_validator_exit`, setting the target's +/// `exit_epoch`. A voluntary exit for the same validator would then fail with `AlreadyExited`. fn filter_voluntary_exits_for_parent_execution_requests( voluntary_exits: &mut Vec, parent_execution_requests: &ExecutionRequestsGloas,