Skip to content

[r3.6] cl: reuse one converter between consensus and execution withdrawals - #23320

Merged
AskAlexSharov merged 1 commit into
release/3.6from
feature/lystopad/cp-23271-to-3.6
Aug 16, 2026
Merged

[r3.6] cl: reuse one converter between consensus and execution withdrawals#23320
AskAlexSharov merged 1 commit into
release/3.6from
feature/lystopad/cp-23271-to-3.6

Conversation

@lystopad

Copy link
Copy Markdown
Member

Cherry-pick of #23271 to release/3.6.

Applied cleanly; no release-branch adaptations were needed.

Part of backporting the series that split #23105. The follow-up parts are not merged to main yet and will be backported separately.

…23271)

Split out of #23105, which grew too large to review in one piece. This
is the mechanical, behaviour-neutral part.

The conversion between `cltypes.Withdrawal` and `types.Withdrawal` was
hand-written at each call site. `cl/cltypes/withdrawal.go` already had a
private singular converter, so this exports a plural one and uses it in
the two places that built the list by hand: the payload-attributes
emitter in the forkchoice stage, and `cacheExecutionBody`.

No behaviour change. Both sites produce the same slice as before,
including whether it comes back nil — `cacheExecutionBody` keeps
returning nil for an empty withdrawals list rather than an empty slice.

Part of a series splitting #23105 into reviewable units. The remaining
parts follow separately; this one stands alone and depends on nothing
else in the series.

(cherry picked from commit 67a305d)
@AskAlexSharov
AskAlexSharov added this pull request to the merge queue Aug 16, 2026
Merged via the queue into release/3.6 with commit 354abbb Aug 16, 2026
94 checks passed
@AskAlexSharov
AskAlexSharov deleted the feature/lystopad/cp-23271-to-3.6 branch August 16, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants