1 unstable release

0.1.0 Jul 13, 2024

#3 in #l1


Used in 4 crates (3 directly)

MIT/Apache

2MB
49K SLoC

zksync_metadata_calculator

Component responsible for calculating any supplementary metadata required for L1 batches. Most notably, this is component responsible for maintaining the Merkle Tree.

Additionally, this crate provides ability to spawn the Merkle Tree API server.


lib.rs:

This module applies updates to the ZkSyncTree, calculates metadata for sealed blocks, and stores them in the DB.

Dependencies

~130MB
~2.5M SLoC