Skip to content

fix(payload): make payload resolution cancellation-safe#26366

Open
0xoasis wants to merge 1 commit into
paradigmxyz:mainfrom
0xoasis:fix-payload-resolve-cancellation
Open

fix(payload): make payload resolution cancellation-safe#26366
0xoasis wants to merge 1 commit into
paradigmxyz:mainfrom
0xoasis:fix-payload-resolve-cancellation

Conversation

@0xoasis

@0xoasis 0xoasis commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Closes #26302

Moves terminating payload resolution into service-owned state so dropping an engine_getPayload request cannot consume an advertised payload ID; retries retain the timestamp and wait for the in-flight result before falling back to the resolved cache. This includes the pre-processing cancellation handled by #26365 and closes its documented post-start cancellation windows.

Validated with cargo nextest run -p reth-payload-builder, focused nightly clippy and rustdoc, and cargo check -p reth-rpc-engine-api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Cancelled payload resolution can consume a valid payloadId before the resolved payload is cached

1 participant