Skip to main content

zksync_consensus_storage/
lib.rs

1//! Abstraction for persistent data storage.
2//! It provides schema-aware type-safe database access.
3mod block_store;
4pub mod proto;
5mod replica_store;
6pub mod testonly;
7#[cfg(test)]
8mod tests;
9
10pub use crate::{
11    block_store::{BlockStore, BlockStoreRunner, BlockStoreState, Last, PersistentBlockStore},
12    replica_store::{ChonkyV2State, Proposal, ReplicaState, ReplicaStore},
13};