4 releases (1 unstable)

new 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

#176 in Magic Beans

Download history 36/week @ 2024-11-16 50/week @ 2024-11-23 46/week @ 2024-11-30 82/week @ 2024-12-07 52/week @ 2024-12-14 19/week @ 2024-12-21 27/week @ 2024-12-28 33/week @ 2025-01-04 15/week @ 2025-01-11 134/week @ 2025-01-18 144/week @ 2025-01-25 39/week @ 2025-02-01 12/week @ 2025-02-08 13/week @ 2025-02-15 2/week @ 2025-02-22 69/week @ 2025-03-01

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

MIT/Apache

2MB
41K 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

~151MB
~3M SLoC