Skip to content

feat: add blockV2 event with new builderIndex and blockHash fields - #9896

Draft
markolazic01 wants to merge 1 commit into
ChainSafe:unstablefrom
markolazic01:feat/block-v2
Draft

feat: add blockV2 event with new builderIndex and blockHash fields#9896
markolazic01 wants to merge 1 commit into
ChainSafe:unstablefrom
markolazic01:feat/block-v2

Conversation

@markolazic01

Copy link
Copy Markdown
Contributor

Motivation

Introduce a new block_v2 event that has new fields blockHash and builderIndex, emits on Gloas block import.

Description
Fourth solution type, next to #9876, #9875 and #9854.
This time 2 new fields (blockHash and builderIndex) in a new event (block_v2).

executionOptimistic: blockSummary != null && isOptimisticBlock(blockSummary),
});
}
if (this.emitter.listenerCount(routes.events.EventType.blockV2) && isGloasBeaconBlock(block.message)) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exclusion of self built blocks is missing here, reminder if we decide to go with this version.

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

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant