Skip to content

feat(flashblocks): add PostExecutionHook support on flashblocks RPC layer#98

Draft
sieniven wants to merge 1 commit intoupstream/dev-v1.10.2from
upstream/dev-v1.10.2-innertx
Draft

feat(flashblocks): add PostExecutionHook support on flashblocks RPC layer#98
sieniven wants to merge 1 commit intoupstream/dev-v1.10.2from
upstream/dev-v1.10.2-innertx

Conversation

@sieniven
Copy link
Copy Markdown

No description provided.

…ndingFlashBlock

Add a generic post-execution hook mechanism to the flashblocks worker,
enabling downstream consumers (e.g., X Layer innertx) to attach
type-erased extension data to PendingFlashBlock after block execution.

- Add PostExecutionHook trait and FlashBlockExtension type (hook.rs)
- Add extension field to PendingFlashBlock (payload.rs)
- FlashBlockBuilder accepts optional hook, calls it after execution (worker.rs)
- FlashBlockService::with_hook() constructor threads hook to builder (service.rs)
- OpEthApiBuilder accepts type-erased hook, downcasts in build_eth_api (mod.rs)
- OpAddOnsBuilder threads hook through to OpEthApiBuilder (node.rs)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant