Skip to content

Heze support (FOCIL)#592

Draft
pk910 wants to merge 113 commits intomasterfrom
heze-support
Draft

Heze support (FOCIL)#592
pk910 wants to merge 113 commits intomasterfrom
heze-support

Conversation

@pk910
Copy link
Member

@pk910 pk910 commented Feb 26, 2026

docker image: ethpandaops/dora:heze-support
specs version: v1.7.0-alpha.3 (TBD)
specs path: specs/heze

based on #484 & #243

pk910 and others added 30 commits January 27, 2025 20:52
barnabasbusa and others added 23 commits February 16, 2026 11:11
…cess

This change modifies how blocks are processed in the beacon client.
It checks the chain state for EIP-7737 enablement based on the block slot's epoch
to determine whether to load the execution payload when processing a block from the
stream.

Additionally, it updates `GetSlotDetailsByBlockroot` and `GetSlotDetailsBySlot`
to include the payload in the response if it exists, further integrating
payload handling into block detail retrieval.
…2 check in processStreamBlock

Removes the logic to determine if EIP-7732 payload loading is needed when processing a block from the head event stream because blocks received via head events are assumed to not require immediate execution payload processing for caching purposes initially.

Updates `processExecutionPayloadAvailableEvent` to use `createOrGetBlock` when a block is not found in the cache during an execution payload availability event, ensuring the block object exists before proceeding.
…nto a single stream dispatcher

Remove separate `blockDispatcher` and `headDispatcher` in `consensus.Client`.

Introduce a unified `streamDispatcher` of type `utils.Dispatcher[*rpc.BeaconStreamEvent]` to handle both block and head events.

Update `Client` methods (`SubscribeBlockEvent`, `SubscribeHeadEvent`) to remove them and introduce `SubscribeStreamEvent`.

Update `runClientLogic` to fire block and head events through the new `streamDispatcher` to guarantee SSE ordering preservation on the consumer side.

Update `indexer/beacon/Client` to use the new `streamSubscription` instead of separate block and head subscriptions, simplifying event handling in `runClientLoop` by processing a unified stream event type that maintains ordering.

This change simplifies the event handling mechanism in the consensus client, ensuring that block and head events originating from the RPC stream are processed in the correct order as delivered by the RPC endpoint.
@pk910 pk910 added the build-docker-image Automatically build docker image for PR branch label Feb 26, 2026
@pk910 pk910 marked this pull request as draft February 26, 2026 17:52
@pk910 pk910 mentioned this pull request Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-docker-image Automatically build docker image for PR branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants