Add builder blinded_blocks v2 (#7778)

Partially addresses https://github.com/sigp/lighthouse/issues/7381


  Add blinded_blocks v2 method specified in https://github.com/ethereum/builder-specs/pull/123/
This commit is contained in:
Pawan Dhananjay
2025-07-25 03:29:19 -05:00
committed by GitHub
parent 2aae08a8aa
commit 09065a851f
4 changed files with 226 additions and 26 deletions

View File

@@ -1275,14 +1275,17 @@ pub async fn blinded_equivocation_consensus_late_equivocation() {
Arc::new(block_a),
)
.await
.unwrap();
.expect("failed to reconstruct block")
.expect("block expected");
let unblinded_block_b = reconstruct_block(
tester.harness.chain.clone(),
block_b.canonical_root(),
block_b.clone(),
)
.await
.unwrap();
.expect("failed to reconstruct block")
.expect("block expected");
let inner_block_a = match unblinded_block_a {
ProvenancedBlock::Local(a, _, _) => a,