Skip to content

Commit

Permalink
Add bid proofs to the builder bid response
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 16, 2022
1 parent b66471c commit a8312fa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
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 is paid to"
proofs:
$ref: "../proof.yaml#/Proofs"
description: "Proofs of pre and post balances of the `fee_recipient` account"

SignedBuilderBid:
type: object
Expand Down
13 changes: 13 additions & 0 deletions types/proof.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Proofs:
type: array
items:
allOf:
- $ref: '#/Proof'
maxItems: 2

Proof:
type: array
items:
allOf:
- $ref: "../../beacon-apis/types/primitive.yaml#/Bytes32"
maxItems: 32

0 comments on commit a8312fa

Please sign in to comment.