mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
ContextDeserialize and Beacon API Improvements (#7372)
* #7286 * BeaconAPI is not returning a versioned response when it should for some V1 endpoints * these [strange functions with vX in the name that still accept `endpoint_version` arguments](https://github.com/sigp/lighthouse/blob/stable/beacon_node/http_api/src/produce_block.rs#L192) This refactor is a prerequisite to get the fulu EF tests running.
This commit is contained in:
@@ -463,12 +463,12 @@ where
|
||||
let blobs = if block.message().body().has_blobs() {
|
||||
debug!("Downloading finalized blobs");
|
||||
if let Some(response) = remote
|
||||
.get_blobs::<E>(BlockId::Root(block_root), None)
|
||||
.get_blobs::<E>(BlockId::Root(block_root), None, &spec)
|
||||
.await
|
||||
.map_err(|e| format!("Error fetching finalized blobs from remote: {e:?}"))?
|
||||
{
|
||||
debug!("Downloaded finalized blobs");
|
||||
Some(response.data)
|
||||
Some(response.into_data())
|
||||
} else {
|
||||
warn!(
|
||||
block_root = %block_root,
|
||||
|
||||
Reference in New Issue
Block a user