diff --git a/beacon_node/http_api/src/lib.rs b/beacon_node/http_api/src/lib.rs index a4fea8f5f..1a2a14611 100644 --- a/beacon_node/http_api/src/lib.rs +++ b/beacon_node/http_api/src/lib.rs @@ -1394,10 +1394,10 @@ pub fn serve( * beacon/blobs */ - // GET beacon/blobs/{block_id} + // GET beacon/blob_sidecars/{block_id} let get_blobs = eth_v1 .and(warp::path("beacon")) - .and(warp::path("blobs")) + .and(warp::path("blob_sidecars")) .and(block_id_or_err) .and(warp::path::end()) .and(chain_filter.clone()) diff --git a/common/eth2/src/lib.rs b/common/eth2/src/lib.rs index 98eb1eba9..32d1bc2be 100644 --- a/common/eth2/src/lib.rs +++ b/common/eth2/src/lib.rs @@ -665,13 +665,13 @@ impl BeaconNodeHttpClient { Ok(path) } - /// Path for `v1/beacon/blobs/{block_id}` + /// Path for `v1/beacon/blob_sidecars/{block_id}` pub fn get_blobs_path(&self, block_id: BlockId) -> Result { let mut path = self.eth_path(V1)?; path.path_segments_mut() .map_err(|()| Error::InvalidUrl(self.server.clone()))? .push("beacon") - .push("blobs") + .push("blob_sidecars") .push(&block_id.to_string()); Ok(path) }