Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Aug 28, 2024
1 parent e6ec914 commit b9df191
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions core/node/external_proof_integration_api/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ impl Processor {
&self
.blob_store
.get::<L1BatchProofForL1>((l1_batch_number, payload.0.protocol_version))
.await?,
.await
.map_err(ProcessorError::ObjectStore)?,
)?;

if serialized_proof != expected_proof {
Expand Down Expand Up @@ -184,7 +185,11 @@ impl Processor {
.get(l1_batch_number)
.await
.map_err(ProcessorError::ObjectStore)?;
let merkle_paths: WitnessInputMerklePaths = self.blob_store.get(l1_batch_number).await?;
let merkle_paths: WitnessInputMerklePaths = self
.blob_store
.get(l1_batch_number)
.await
.map_err(ProcessorError::ObjectStore)?;

// Acquire connection after interacting with GCP, to avoid holding the connection for too long.
let mut conn = self.pool.connection().await.map_err(ProcessorError::Dal)?;
Expand Down

0 comments on commit b9df191

Please sign in to comment.