5 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
26.1.0-non-semver-compat Jan 22, 2025
0.1.0 Jul 12, 2024

#998 in Magic Beans

Download history 55/week @ 2024-11-27 82/week @ 2024-12-04 50/week @ 2024-12-11 29/week @ 2024-12-18 27/week @ 2024-12-25 32/week @ 2025-01-01 17/week @ 2025-01-08 10/week @ 2025-01-15 170/week @ 2025-01-22 133/week @ 2025-01-29 22/week @ 2025-02-05 14/week @ 2025-02-12 4/week @ 2025-02-19 146/week @ 2025-03-05 10/week @ 2025-03-12

162 downloads per month
Used in 24 crates (10 directly)

MIT/Apache

2MB
42K SLoC

State Keeper State

Access to the VM storage for the state keeper. The state keeper itself is a part of the zksync_core crate; it is a component responsible for handling transaction execution and creating L2 blocks and L1 batches.

All state keeper data is currently stored in Postgres. (Beside it, we provide an in-memory implementation for benchmarking / testing purposes.) We also keep a secondary copy for part of it in RocksDB for performance reasons. Currently, we only duplicate the data needed by the multivm crate.


lib.rs:

Execution of transaction in ZKsync Era

Dependencies

~157MB
~3M SLoC