Skip to content

Commit 951452f

Browse files
committed
Fmt
1 parent af08193 commit 951452f

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

batcher/aligned-sdk/src/beacon.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ impl BeaconClient {
8080
))
8181
.await?;
8282

83-
let res = Vec::<BeaconBlock>::deserialize(data).map_err(BeaconClientError::Deserialization)?;
83+
let res =
84+
Vec::<BeaconBlock>::deserialize(data).map_err(BeaconClientError::Deserialization)?;
8485

8586
let block = res
8687
.into_iter()
@@ -89,15 +90,12 @@ impl BeaconClient {
8990
Ok(block)
9091
}
9192

92-
pub async fn get_blobs_from_slot(
93-
&self,
94-
slot: u64,
95-
) -> Result<Vec::<BlobData>, BeaconClientError> {
93+
pub async fn get_blobs_from_slot(&self, slot: u64) -> Result<Vec<BlobData>, BeaconClientError> {
9694
let data = self
9795
.beacon_get(&format!("/eth/v1/beacon/blob_sidecars/{}", slot))
9896
.await?;
9997

100-
Vec::<BlobData>::deserialize(data).map_err(BeaconClientError::Deserialization)
98+
Vec::<BlobData>::deserialize(data).map_err(BeaconClientError::Deserialization)
10199
}
102100

103101
pub async fn get_blob_by_versioned_hash(

batcher/aligned-sdk/src/sdk/aggregation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub async fn is_proof_verified_in_aggregation_mode(
9898
.map_err(|_| ProofVerificationAggModeError::EventDecoding)?;
9999
let merkle_root = log.topics[1].0;
100100

101-
// Block Number shouldn't be empty, in case it is,
101+
// Block Number shouldn't be empty, in case it is,
102102
// there is a problem with this log, and we skip it
103103
// This same logic is replicated for other checks.
104104
let Some(block_number) = log.block_number else {

0 commit comments

Comments
 (0)