Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support external mev builder #10492

Merged
merged 83 commits into from
Jun 25, 2024
Merged

Support external mev builder #10492

merged 83 commits into from
Jun 25, 2024

Conversation

domiwei
Copy link
Member

@domiwei domiwei commented May 27, 2024

  • enable builder mode by configuring --beacon.api=builder and setup --mev-relay-url to run in builder mode (code)

  • Set mev relay url by --caplin.mev-relay-url as run erigon if would like to run caplin in builder mode.
    eg:

--caplin.mev-relay-url=https://boost-relay-sepolia.flashbots.net/
  • Follow builder specs here to impl builder client

  • validator registration api /v1/validator/register_validator

  • choose proposed block (either blinded or unblinded block) api /v3/validator/blocks/{slot}

  • post blinded block api /v1/beacon/blinded_blocks /v2/beacon/blinded_blocks

@domiwei domiwei force-pushed the feature/mev-boost branch from 0f42e85 to 267a91d Compare May 28, 2024 18:17
@domiwei domiwei changed the title WIP: support mev builder Support external mev builder Jun 6, 2024
@Giulio2002
Copy link
Contributor

Ok will test

@Giulio2002
Copy link
Contributor

flag provided but not defined: -mev-relay-url

did you add this to Erigon too?

@domiwei domiwei force-pushed the feature/mev-boost branch from 7417b27 to 541005b Compare June 7, 2024 09:44
@Giulio2002 Giulio2002 added the imp1 High importance label Jun 7, 2024
@domiwei domiwei force-pushed the feature/mev-boost branch 5 times, most recently from f202790 to 5569213 Compare June 15, 2024 10:45
@domiwei domiwei force-pushed the feature/mev-boost branch from 9d544b0 to d7de8a9 Compare June 17, 2024 18:35
@domiwei domiwei force-pushed the feature/mev-boost branch from 483e3a3 to 42c85ca Compare June 20, 2024 08:29
@domiwei domiwei requested a review from Giulio2002 June 20, 2024 15:47
cl/beacon/builder/client.go Show resolved Hide resolved
cl/beacon/builder/types.go Outdated Show resolved Hide resolved
cl/cltypes/builder.go Outdated Show resolved Hide resolved
turbo/engineapi/engine_types/jsonrpc.go Outdated Show resolved Hide resolved
@domiwei domiwei requested a review from Giulio2002 June 24, 2024 10:13
@Giulio2002 Giulio2002 merged commit 382f1a9 into main Jun 25, 2024
10 checks passed
@Giulio2002 Giulio2002 deleted the feature/mev-boost branch June 25, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
caplin imp1 High importance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants