Update engine_api to latest version (#4223)

* Update Engine API to Latest

* Get Mock EE Working

* Fix Mock EE

* Update Engine API Again

* Rip out get_blobs_bundle Stuff

* Fix Test Harness

* Fix Clippy Complaints

* Fix Beacon Chain Tests
This commit is contained in:
ethDreamer
2023-04-27 13:18:21 -05:00
committed by GitHub
parent aa34339298
commit c1d47da02d
24 changed files with 449 additions and 159 deletions

View File

@@ -107,7 +107,7 @@ impl TestRig {
"precondition: current slot is one after head"
);
let (next_block, next_state) = harness
let (next_block_tuple, next_state) = harness
.make_block(head.beacon_state.clone(), harness.chain.slot().unwrap())
.await;
@@ -133,9 +133,9 @@ impl TestRig {
.get_unaggregated_attestations(
&AttestationStrategy::AllValidators,
&next_state,
next_block.state_root(),
next_block.canonical_root(),
next_block.slot(),
next_block_tuple.0.state_root(),
next_block_tuple.0.canonical_root(),
next_block_tuple.0.slot(),
)
.into_iter()
.flatten()
@@ -145,9 +145,9 @@ impl TestRig {
.make_attestations(
&harness.get_all_validators(),
&next_state,
next_block.state_root(),
next_block.canonical_root().into(),
next_block.slot(),
next_block_tuple.0.state_root(),
next_block_tuple.0.canonical_root().into(),
next_block_tuple.0.slot(),
)
.into_iter()
.filter_map(|(_, aggregate_opt)| aggregate_opt)
@@ -209,7 +209,7 @@ impl TestRig {
Self {
chain,
next_block: Arc::new(next_block),
next_block: Arc::new(next_block_tuple.0),
attestations,
next_block_attestations,
next_block_aggregate_attestations,