1 unstable release

0.1.0 Jul 12, 2024

#47 in #zksync

Download history 10/week @ 2024-07-22 45/week @ 2024-08-12 48/week @ 2024-08-19 28/week @ 2024-08-26 40/week @ 2024-09-02 47/week @ 2024-09-09 61/week @ 2024-09-16 71/week @ 2024-09-23 45/week @ 2024-09-30 31/week @ 2024-10-14 50/week @ 2024-10-21 29/week @ 2024-10-28 30/week @ 2024-11-04

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

MIT/Apache

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

~112MB
~2M SLoC