Add --low-valcount-sweep feature flag for withdrawal sweep bound (#16231)

Gate the withdrawal sweep optimization (using min of validator count and
MaxValidatorsPerWithdrawalsSweep) behind a hidden feature flag that
defaults to false. Enable the flag for spectests to match consensus
spec.

The backported changes were from
[4788](https://github.com/ethereum/consensus-specs/pull/4788)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Potuz
2026-01-08 13:14:03 -03:00
committed by GitHub
parent 17245f4fac
commit 158c09ca8c
7 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
### Added
- Add a feature flag to pass spectests with low validator count.