1 unstable release

0.1.0 Jul 12, 2024

#29 in #zksync

Download history 133/week @ 2024-07-11 26/week @ 2024-07-18 9/week @ 2024-07-25 18/week @ 2024-08-08 43/week @ 2024-08-15 46/week @ 2024-08-22 44/week @ 2024-08-29 39/week @ 2024-09-05 50/week @ 2024-09-12 60/week @ 2024-09-19 63/week @ 2024-09-26 22/week @ 2024-10-03

209 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

~109MB
~2M SLoC