mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
beacon: consensus: implement engine api getBlobs
This commit is contained in:
@@ -681,19 +681,6 @@ impl HttpJsonRpc {
|
||||
Ok(response.into())
|
||||
}
|
||||
|
||||
pub async fn get_full_payload<T: EthSpec>(
|
||||
&self,
|
||||
payload_id: PayloadId,
|
||||
) -> Result<FullPayload<T>, Error> {
|
||||
let payload = self.get_payload_v1(payload_id).await;
|
||||
let blobs = self.get_blobs_bundle_v1(payload_id).await;
|
||||
|
||||
Ok(FullPayload{
|
||||
execution_payload: payload?,
|
||||
blobs_bundle: blobs?.into(),
|
||||
})
|
||||
}
|
||||
|
||||
pub async fn forkchoice_updated_v1(
|
||||
&self,
|
||||
forkchoice_state: ForkChoiceState,
|
||||
|
||||
Reference in New Issue
Block a user