Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eigen-client-m0): Extract EigenDA client #373

Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f6422cd
feat(state-keeper): mempool io opens batch if there is protocol upgra…
perekopskiy Dec 9, 2024
003316e
fix: Fixed cargo deny (#3372)
brunoffranca Dec 11, 2024
51958f6
docs: interop docs update (#3366)
kelemeno Dec 11, 2024
5d77727
fix(tracer): adds vm error to flatCallTracer error field if exists (#…
dutterbutter Dec 11, 2024
503956d
chore(main): release core 25.3.0 (#3313)
zksync-era-bot Dec 11, 2024
fe8f68c
feat(eigen-client-extra-features): Fix PR comments (#369)
gianbelinche Dec 11, 2024
64a08bc
Merge branch 'main' into eigen-client-extra-features
gianbelinche Dec 11, 2024
8395cca
Cargo lock conflicts
gianbelinche Dec 11, 2024
f2d7941
Merge pull request #370 from lambdaclass/eigen-client-extra-main-merged
gianbelinche Dec 11, 2024
291ac85
Merge branch 'eigen-client-extra-features' into eigen-client-m0-imple…
juan518munoz Dec 11, 2024
452fc6c
remove concurrent dispatcher leftovers
juan518munoz Dec 11, 2024
4b3c059
Solve comments (#372)
gianbelinche Dec 12, 2024
5a9c282
Remove eigen client for external crate
gianbelinche Dec 12, 2024
798cf45
Add real repo
gianbelinche Dec 12, 2024
c4b5b0b
Merge branch 'eigen-client-extra-features' into eigen-client-m0-imple…
juan518munoz Dec 13, 2024
4af1a20
remove METRICS var
juan518munoz Dec 13, 2024
051c661
Merge branch 'eigen-client-m0-implementation-merge-extra-features' in…
gianbelinche Dec 13, 2024
7bef5b3
Change proxy name and remove generic
gianbelinche Dec 13, 2024
93b94b2
feat(eigen-client-extra-features): address PR comments (#375)
gianbelinche Dec 19, 2024
2ddb512
Merge branch 'eigen-client-extra-features' into eigen-client-m0-imple…
juan518munoz Dec 19, 2024
9213660
Merge branch 'eigen-client-m0-implementation-merge-extra-features' in…
gianbelinche Dec 19, 2024
4a997fc
Fix compilation
gianbelinche Dec 19, 2024
e81d4d0
Update branch
gianbelinche Jan 3, 2025
fd63400
Merge branch 'eigen-client-m0-implementation' into eigen-client-m0-ex…
gianbelinche Jan 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove METRICS var
juan518munoz committed Dec 13, 2024
commit 4af1a20705f439867028b52367b3751a24736259
2 changes: 0 additions & 2 deletions core/node/da_dispatcher/src/da_dispatcher.rs
Original file line number Diff line number Diff line change
@@ -83,7 +83,6 @@ impl DataAvailabilityDispatcher {

for batch in batches {
let dispatch_latency = METRICS.blob_dispatch_latency.start();
METRICS.blobs_pending_dispatch.inc_by(1);
let dispatch_response = retry(self.config.max_retries(), batch.l1_batch_number, || {
self.client
.dispatch_blob(batch.l1_batch_number.0, batch.pubdata.clone())
@@ -115,7 +114,6 @@ impl DataAvailabilityDispatcher {
.set(batch.l1_batch_number.0 as usize);
METRICS.blob_size.observe(batch.pubdata.len());
METRICS.blobs_dispatched.inc_by(1);
METRICS.blobs_pending_dispatch.dec_by(1);

tracing::info!(
"Dispatched a DA for batch_number: {}, pubdata_size: {}, dispatch_latency: {dispatch_latency_duration:?}",
2 changes: 0 additions & 2 deletions core/node/da_dispatcher/src/metrics.rs
Original file line number Diff line number Diff line change
@@ -19,8 +19,6 @@ pub(super) struct DataAvailabilityDispatcherMetrics {
/// Buckets are bytes ranging from 1 KB to 16 MB, which has to satisfy all blob size values.
#[metrics(buckets = Buckets::exponential(1_024.0..=16.0 * 1_024.0 * 1_024.0, 2.0), unit = Unit::Bytes)]
pub blob_size: Histogram<usize>,
/// Amount of pending blobs to be dispatched.
pub blobs_pending_dispatch: Gauge<usize>,
/// Total number of blobs dispatched.
pub blobs_dispatched: Gauge<usize>,
/// Total number of blobs included.