Crates.io | zksync_da_client |
lib.rs | zksync_da_client |
version | 0.1.0 |
source | src |
created_at | 2024-07-13 10:00:53.406426 |
updated_at | 2024-07-13 10:00:53.406426 |
description | ZKsync DA client definition |
homepage | https://zksync.io/ |
repository | https://github.com/matter-labs/zksync-era |
max_upload_size | |
id | 1302201 |
size | 4,791 |
This crate contains a trait that has to be implemented by all the DA clients.
This trait assumes that every implementation follows these logical assumptions:
da_dispatcher
.da_dispatcher
, not in the DA clients.dispatch_blob
is supposed to be idempotent, and work correctly even if called multiple times with the same
params.get_inclusion_data
has to return the data only when the state roots are relayed to the L1 verification contract
(if the DA solution has one).