diff --git a/core/bin/zksync_tee_prover/src/tee_prover.rs b/core/bin/zksync_tee_prover/src/tee_prover.rs
index da431ac5b332..58f3d45969ca 100644
--- a/core/bin/zksync_tee_prover/src/tee_prover.rs
+++ b/core/bin/zksync_tee_prover/src/tee_prover.rs
@@ -82,9 +82,9 @@ impl TeeProver {
let signature = self.config.signing_key.sign_ecdsa(msg_to_sign);
let duration = observer.observe();
tracing::info!(
- proof_generation_time = %duration.as_secs_f64(),
+ proof_generation_time = duration.as_secs_f64(),
l1_batch_number = %batch_number,
- l1_root_hash = %verification_result.value_hash,
+ l1_root_hash = ?verification_result.value_hash,
"L1 batch verified",
);
Ok((signature, batch_number, verification_result.value_hash))
diff --git a/core/lib/dal/.sqlx/query-73fb2eb75353d57898ff9810d3f5d8370dd90de4425d699446f3c9b0c77d8de5.json b/core/lib/dal/.sqlx/query-6ec93ebdd58bdc0259d98ef5ae0d087ed816920e8e75a163b87a19e39db86227.json
similarity index 72%
rename from core/lib/dal/.sqlx/query-73fb2eb75353d57898ff9810d3f5d8370dd90de4425d699446f3c9b0c77d8de5.json
rename to core/lib/dal/.sqlx/query-6ec93ebdd58bdc0259d98ef5ae0d087ed816920e8e75a163b87a19e39db86227.json
index a95f9b04de51..bdc6b007e9df 100644
--- a/core/lib/dal/.sqlx/query-73fb2eb75353d57898ff9810d3f5d8370dd90de4425d699446f3c9b0c77d8de5.json
+++ b/core/lib/dal/.sqlx/query-6ec93ebdd58bdc0259d98ef5ae0d087ed816920e8e75a163b87a19e39db86227.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT\n sealed_at\n FROM\n l1_batches\n WHERE\n is_sealed\n AND number = $1\n ",
+ "query": "\n SELECT\n sealed_at\n FROM\n l1_batches\n WHERE\n number = $1\n ",
"describe": {
"columns": [
{
@@ -18,5 +18,5 @@
true
]
},
- "hash": "73fb2eb75353d57898ff9810d3f5d8370dd90de4425d699446f3c9b0c77d8de5"
+ "hash": "6ec93ebdd58bdc0259d98ef5ae0d087ed816920e8e75a163b87a19e39db86227"
}
diff --git a/core/lib/dal/src/blocks_dal.rs b/core/lib/dal/src/blocks_dal.rs
index 307d9717ad5a..0cb607a304e2 100644
--- a/core/lib/dal/src/blocks_dal.rs
+++ b/core/lib/dal/src/blocks_dal.rs
@@ -7,7 +7,7 @@ use std::{
use anyhow::Context as _;
use bigdecimal::{BigDecimal, FromPrimitive, ToPrimitive};
-use chrono::NaiveDateTime;
+use sqlx::types::chrono::{DateTime, Utc};
use zksync_db_connection::{
connection::Connection,
error::{DalResult, SqlxContext},
@@ -2396,10 +2396,10 @@ impl BlocksDal<'_, '_> {
.flatten())
}
- pub async fn get_sealed_at(
+ pub async fn get_batch_sealed_at(
&mut self,
l1_batch_number: L1BatchNumber,
- ) -> DalResult