ethereum / builder-specs

Specification for the external block builders.
https://ethereum.github.io/builder-specs/
Creative Commons Zero v1.0 Universal
179 stars 61 forks source link

Add payment proof to builder bid #16

Open lightclient opened 2 years ago

lightclient commented 2 years ago

Right now we're trusting the bid from the builder will pay the value it claims. This can and should be provable with a state proof.

Suppose we're building block N+1 -- the builder bid object can be extended to have a proof to the balance of the fee_recipient at block N and N+1. The proofs would be rooted against the headers for N and N+1. This would allow the validator to verify that their account does receive the value as expected.

metachris commented 2 years ago

See also https://github.com/flashbots/mev-boost/issues/99#issuecomment-1130039956 for more discussion and context about different models for payment proofs.

Two discussed methods:

  1. inclusion proof on transaction trie
  2. account proof on post execution state trie