3 releases (1 unstable)

26.2.1-non-semver-compat Jan 29, 2025
26.1.0-non-semver-compat Jan 22, 2025
0.1.0 Jul 12, 2024

#227 in Magic Beans

Download history 35/week @ 2024-10-16 34/week @ 2024-10-23 43/week @ 2024-10-30 16/week @ 2024-11-06 20/week @ 2024-11-13 42/week @ 2024-11-20 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

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

MIT/Apache

1.5MB
40K 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

~136MB
~2.5M SLoC