4 releases (1 unstable)

new 27.0.0-non-semver-compat Mar 21, 2025
26.7.0-non-semver-compat Mar 6, 2025
26.2.1-non-semver-compat Jan 29, 2025
0.1.0 Jul 13, 2024

#994 in Magic Beans

Download history 3/week @ 2024-11-27 8/week @ 2024-12-04 10/week @ 2024-12-11 132/week @ 2025-01-29 14/week @ 2025-02-05 1/week @ 2025-02-12 133/week @ 2025-03-05 5/week @ 2025-03-12

138 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

2.5MB
54K 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

~157MB
~3M SLoC