mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Delete legacy payload reconstruction (#6213)
* Delete legacy payload reconstruction * Delete unneeded failing test * Merge remote-tracking branch 'origin/unstable' into remove-more-ethers * Merge remote-tracking branch 'origin/unstable' into remove-more-ethers * Cleanups
This commit is contained in:
@@ -649,15 +649,7 @@ async fn check_payload_reconstruction<E: GenericExecutionEngine>(
|
||||
ee: &ExecutionPair<E, MainnetEthSpec>,
|
||||
payload: &ExecutionPayload<MainnetEthSpec>,
|
||||
) {
|
||||
// check via legacy eth_getBlockByHash
|
||||
let reconstructed = ee
|
||||
.execution_layer
|
||||
.get_payload_by_hash_legacy(payload.block_hash(), payload.fork_name())
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap();
|
||||
assert_eq!(reconstructed, *payload);
|
||||
// also check via payload bodies method
|
||||
// check via payload bodies method
|
||||
let capabilities = ee
|
||||
.execution_layer
|
||||
.get_engine_capabilities(None)
|
||||
|
||||
Reference in New Issue
Block a user