File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments