From 2fc4dca54810727701edb1dd1cd3002dddebcf31 Mon Sep 17 00:00:00 2001 From: Grzegorz Prusak Date: Wed, 9 Oct 2024 17:31:27 +0200 Subject: [PATCH] another comment --- node/Cargo.lock | 24 ++++++++++++------------ node/libs/storage/src/block_store/mod.rs | 4 +++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/node/Cargo.lock b/node/Cargo.lock index e5a547df..346e2af7 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -3221,7 +3221,7 @@ dependencies = [ [[package]] name = "tester" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "clap", @@ -3929,7 +3929,7 @@ dependencies = [ [[package]] name = "zksync_concurrency" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "assert_matches", @@ -3947,7 +3947,7 @@ dependencies = [ [[package]] name = "zksync_consensus_bft" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "assert_matches", @@ -3971,7 +3971,7 @@ dependencies = [ [[package]] name = "zksync_consensus_crypto" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "blst", @@ -3991,7 +3991,7 @@ dependencies = [ [[package]] name = "zksync_consensus_executor" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "async-trait", @@ -4013,7 +4013,7 @@ dependencies = [ [[package]] name = "zksync_consensus_network" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "assert_matches", @@ -4051,7 +4051,7 @@ dependencies = [ [[package]] name = "zksync_consensus_roles" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "assert_matches", @@ -4072,7 +4072,7 @@ dependencies = [ [[package]] name = "zksync_consensus_storage" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "assert_matches", @@ -4094,7 +4094,7 @@ dependencies = [ [[package]] name = "zksync_consensus_tools" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "async-trait", @@ -4129,7 +4129,7 @@ dependencies = [ [[package]] name = "zksync_consensus_utils" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "rand", @@ -4139,7 +4139,7 @@ dependencies = [ [[package]] name = "zksync_protobuf" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "bit-vec", @@ -4161,7 +4161,7 @@ dependencies = [ [[package]] name = "zksync_protobuf_build" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "heck", diff --git a/node/libs/storage/src/block_store/mod.rs b/node/libs/storage/src/block_store/mod.rs index d885abc0..3d316952 100644 --- a/node/libs/storage/src/block_store/mod.rs +++ b/node/libs/storage/src/block_store/mod.rs @@ -104,7 +104,9 @@ pub trait PersistentBlockStore: 'static + fmt::Debug + Send + Sync { /// Range of blocks persisted in storage. fn persisted(&self) -> sync::watch::Receiver; - /// Verifies the external justification of the pre-genesis block. + /// Verifies a pre-genesis block. + /// It may interpret `block.justification` + /// and/or consult external source of truth. async fn verify_pregenesis_block( &self, ctx: &ctx::Ctx,