Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specs/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
| - | - |
| `DOMAIN_APPLICATION_BUILDER` | `DomainType('0x00000001')` |

### Execution proof

| Name | Value |
| - | - |
| `MAX_EXECUTION_PROOF_DEPTH` | `256/4` (= 64) |

## Containers

Consider the following definitions supplementary to the definitions in
Expand Down Expand Up @@ -76,6 +82,8 @@ class BuilderBid(Container):
header: ExecutionPayloadHeader
value: uint256
pubkey: BLSPubkey
fee_recipient: ExecutionAddress
proof: List[Bytes32, MAX_EXECUTION_PROOF_DEPTH]
```

##### `SignedBuilderBid`
Expand Down
6 changes: 6 additions & 0 deletions types/bellatrix/bid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Bellatrix:
pubkey:
$ref: "../../beacon-apis/types/primitive.yaml#/Pubkey"
description: "BLS public key of builder."
fee_recipient:
$ref: '../../beacon-apis/types/primitive.yaml#/ExecutionAddress'
description: "The address the bid will be paid to, as registered previously with builder"
proof:
$ref: "../proof.yaml#/Proof"
description: "Merkle proof of post balance of the `fee_recipient` account"

SignedBuilderBid:
type: object
Expand Down
6 changes: 6 additions & 0 deletions types/proof.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Proof:
type: array
items:
allOf:
Copy link
Member

Choose a reason for hiding this comment

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

is allOf necessary here?

- $ref: "../beacon-apis/types/primitive.yaml#/Bytes32"
maxItems: 64