zksync_shared_resources

Crates.iozksync_shared_resources
lib.rszksync_shared_resources
version29.4.0-non-semver-compat
created_at2025-06-12 09:00:47.081052+00
updated_at2025-09-24 17:56:22.73515+00
descriptionShared resources for ZKsync node framework
homepagehttps://zksync.io/
repositoryhttps://github.com/matter-labs/zksync-era
max_upload_size
id1709581
size71,514
(CratesMatterLabs)

documentation

README

Shared Resources for ZKsync Node Framework

This library contains resources shared among multiple components in the ZKsync node.

Developer notes

This library should contain the following resources:

  • Resources that don't have a clear component crate to place into (e.g., contract data resources).
  • Resources that may have a component crate, but placing them there would introduce unreasonable tight coupling between component crates. As an example, the node sync state could be placed in the zksync_node_sync crate, but it would mean that the API server component would need to rely on it, and there would be cyclical dependency between zksync_node_sync and the state keeper.

Resources in the library should not bring heavyweight dependencies (roughly speaking, anything not already brought by the node framework).

Commit count: 2808

cargo fmt