From db11adcc8fe3b2869f298190e9a39c4b3251ed13 Mon Sep 17 00:00:00 2001 From: g11tech Date: Fri, 16 Sep 2022 22:51:49 +0530 Subject: [PATCH] Add bid proofs to the builder bid response --- types/bellatrix/bid.yaml | 6 ++++++ types/proof.yaml | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 types/proof.yaml diff --git a/types/bellatrix/bid.yaml b/types/bellatrix/bid.yaml index 3e9e7fb..8d512b4 100644 --- a/types/bellatrix/bid.yaml +++ b/types/bellatrix/bid.yaml @@ -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 diff --git a/types/proof.yaml b/types/proof.yaml new file mode 100644 index 0000000..5d80d35 --- /dev/null +++ b/types/proof.yaml @@ -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