metachris
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit
      • Invitee
      • No invitee
    • Publish Note

      Publish Note

      Everyone on the web can find and read all notes of this public team.
      Once published, notes can be searched and viewed by anyone online.
      See published notes
      Please check the box to agree to the Community Guidelines.
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit
Invitee
No invitee
Publish Note

Publish Note

Everyone on the web can find and read all notes of this public team.
Once published, notes can be searched and viewed by anyone online.
See published notes
Please check the box to agree to the Community Guidelines.
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Transaction Inclusion List for MEV-Boost Ideas, questions and technical approach to implementing [inclusion lists](https://ethresear.ch/t/how-much-can-we-constrain-builders-without-bringing-back-heavy-burdens-to-proposers/13808). Note: This document assumes the inclusion list functionality being implemented by both beacon node and mev-boost. It might be worth investigating whether this can be done exclusively in mev-boost, without changes to the BN. ## References - Vitalik’s post about inclusion lists and partial block auctions: [ethresear.ch/t/how-much-can-we-constrain-builders-without-bringing-back-heavy-burdens-to-proposers/13808](https://ethresear.ch/t/how-much-can-we-constrain-builders-without-bringing-back-heavy-burdens-to-proposers/13808) - Robert’s specific proposal: [ethresear.ch/t/how-much-can-we-constrain-builders-without-bringing-back-heavy-burdens-to-proposers/13808/12](https://ethresear.ch/t/how-much-can-we-constrain-builders-without-bringing-back-heavy-burdens-to-proposers/13808/12?u=metachris) - Inclusion-list discussion on Github: [github.com/ethereum/builder-specs/issues/52](https://github.com/ethereum/builder-specs/issues/52) - [Censorship Resistance: crlists in mev-boost (#215)](https://github.com/flashbots/mev-boost/issues/215) More: * [Unbundling PBS: Towards protocol-enforced proposer commitments (PEPC) (Barnabe)](https://ethresear.ch/t/unbundling-pbs-towards-protocol-enforced-proposer-commitments-pepc/13879?u=barnabe) * [Barnabe Twitter thread on IL, partial block auctions, proposer-built prefixes and proposer-built suffixes](https://twitter.com/barnabemonnot/status/1582660856885628928?t=1AB4vKfnC-juUivDuU-itQ&s=19) ## High-level idea 1. Proposer sends a list of transactions to mev-boost relays that *must* be included in a block (for a specific slot duty of this proposer). * Request with the inclusion list must be signed by the proposer. * Needs to be sent before the slot duty, so builders have the information ready when they start building. 2. (The builders request the final inclusion list from the relay, when they start building.) 4. Proposer asks for a block header (bid) which includes Merkle proofs ([multiproof](https://www.wealdtech.com/articles/understanding-sparse-merkle-multiproofs/)) for the transactions being present in the block. 5. The proofs are validated by the beacon-node (and by mev-boost, which chooses the best valid bid of all the relays) ## Assumptions 1. An inclusion-list request is specific for a particular slot duty 2. The inclusion list is sent two slots before the proposer duty * i.e. a proposer duty on slot 20 * when payload for slot 18 is received, BN sends the inclusion list * when payload for slot 19 is received, the builders request the current inclusion list from the relay and start building blocks. ## Questions 1. **How is the inclusion list compiled?** * Mempool is the source of transaction information. * EL client, or a standalone tool, could offer a JSON-RPC API to receive transactions for inclusion. * Beacon node sends a signed API request to set an inclusion list. 1. **Is this compatible with mev-boost?** * Can mev-boost verify the necessary proofs (without EL access)? In particular proof of inclusion in previous block, and the other legitimate failure modes outlined below (if necessary). * Would we consider connecting mev-boost to the EL client, or deprecating mev-boost-the-software? 3. **Merkle proofs** * Are there any problems with [Merkle multiproof](https://www.wealdtech.com/articles/understanding-sparse-merkle-multiproofs/) for this? * Does this scale well with many must-include transactions and blocks with large number of transactions? * How do we deal with the transaction cases below, which are legitimate cases for a transaction to not be included even though on the inclusion list? How could mev-boost know which bid is valid with such cases? * Any other concerns about the proofs? 4. **Transaction edge-cases** 1. **Transaction was already included in a previous block** * Is there a way to add a Merkle proof for this too? If not, how could mev-boost know about the previous inclusion and still allow the bid? * Can this be ignored for now? Could mev-boost still choose the best correct bid? 2. **Base fee rises above that in a required tx** * BN could check that, but mev-boost not? * Can this be ignored for now? Could mev-boost still choose the best correct bid? * (Keep in mind that bundles might have transactions with 0 gas fee in them.) 3. **Transaction is now invalid (i.e. not enough Ether in account to pay for gas)** * Seems neither BN nor mev-boost could check that * Can this be ignored for now? Could mev-boost still choose the best correct bid? 4. **Other tx edge-cases to think about?** --- ## Tasks 1. Double-check high-level idea and steps. 2. Consider the questions, document answers and ideas. 3. Define example payloads for requests and bids. --- ## Example payloads ### Inclusion-list request for a specific slot: (BN -> builder network) `POST /eth/v1/builder/inclusion_list` ```json { "message": { "slot": "123", "proposer_pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a", "transactions": ["0xtx1", "0xtx2", ...] }, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505" } ``` Response: `200 OK` ### Bid (with added proofs) Original [getHeader response](https://ethereum.github.io/builder-specs/#/Builder/getHeader) with additional proof of inclusion. ```json { "version": "bellatrix", "data": { "message": { "header": ExecutionPayloadHeader, "value": "1", "pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a" "inclusion_proof??": ??? }, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505" } } ``` TODO: adding proof of inclusion to the message part of the bid.

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template is not available.
Upgrade
All
  • All
  • Team
No template found.

Create custom template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Tutorials

Book Mode Tutorial

Slide Mode Tutorial

Contacts

Facebook

Twitter

Discord

Feedback

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Upgrade to Prime Plan

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

No updates to save
Compare with
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Upgrade

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully