mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user