Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DA Manager (separate binary)
A
DA Manager
is introduced, a component that periodically queries for new batches and uploads theirpubdata
to some data availability solution, as a separate binary. The way this works is the following:pubdata
, the operator will query Postgres for the four components of pubdata, then convert it into its byte representation using the logic in thepub fn construct_pubdata(&self) -> Vec<u8>
method of theL1BatchWithMetadata
struct.pubdata
and post it to the DA server. For this scenario, we should provide some examples showing what you should implement for your own DA solution.DA Manager
runs independently, from the operator, i.e. as an entirely separateOS
process or even on a different machine (in particular, it’s independent from both theeth_tx_aggregator
and theeth_tx_manager
)