Skip to content

feat: add builder override#12601

Merged
terencechain merged 2 commits intodeneb-integrationfrom
builder-override
Jul 22, 2023
Merged

feat: add builder override#12601
terencechain merged 2 commits intodeneb-integrationfrom
builder-override

Conversation

@terencechain
Copy link
Collaborator

This PR adds builder override capability as specified in: ethereum/execution-apis#425

In summary, it uses the BuilderOverride flag to favor the local block over the builder one by adding a boolean parameter. Another way to do this is to encapsulate override in the execution data interface which seems like an overkill

@terencechain terencechain requested a review from a team as a code owner July 7, 2023 08:47
@terencechain terencechain self-assigned this Jul 7, 2023
@terencechain terencechain requested review from james-prysm, nisdas and saolyn and removed request for a team July 7, 2023 08:47
@terencechain terencechain force-pushed the builder-override branch 3 times, most recently from e927c39 to 1fa319c Compare July 7, 2023 09:29
}()

localPayload, blobsBundle, err := vs.getLocalPayloadAndBlobs(ctx, sBlk.Block(), head)
localPayload, blobsBundle, override, err := vs.getLocalPayloadAndBlobs(ctx, sBlk.Block(), head)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you rename override to overrideBuilder? Currently from the variable name it's not clear what we are overriding.

copy(pid[:], payloadId[:])
payloadIDCacheHit.Inc()
payload, blobsBundle, err := vs.ExecutionEngineCaller.GetPayload(ctx, pid, slot)
payload, blobsBundle, override, err := vs.ExecutionEngineCaller.GetPayload(ctx, pid, slot)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here: override --> overrideBuilder

@terencechain terencechain force-pushed the builder-override branch 2 times, most recently from 9b3a455 to eb1fa64 Compare July 8, 2023 07:15
@kasey kasey force-pushed the deneb-integration branch from 2829315 to 20b0fdd Compare July 20, 2023 18:23
@kasey kasey requested a review from prestonvanloon as a code owner July 20, 2023 18:23
@terencechain terencechain merged commit 874ad40 into deneb-integration Jul 22, 2023
@terencechain terencechain deleted the builder-override branch July 22, 2023 08:19
james-prysm pushed a commit that referenced this pull request Aug 4, 2023
terencechain added a commit that referenced this pull request Aug 16, 2023
kasey pushed a commit that referenced this pull request Aug 21, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 24, 2023
kasey pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 31, 2023
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