You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(block-production): rename phase-2 locals in build_block (#1135)
The block-building loop reused the phase-1 selection accumulators
aggregated_attestations / aggregated_signatures for the phase-2
collapsed-per-data outputs by rebinding them to empty lists mid-method.
Reusing one name for two semantically different values in a single
scope is a misreading hazard and violates the descriptive-naming rule.
Give the collapsed outputs distinct names merged_attestations /
merged_signatures, initialized at the method level so the no-payloads
path still builds an empty block. The phase-1 accumulators now live
inside the payloads branch where they are used. Behavior is identical.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments