From 4d4a0de65c0cf38644bc5a58c8c64514d38c236f Mon Sep 17 00:00:00 2001 From: Lech <88630083+Artemka374@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:26:26 +0300 Subject: [PATCH] remove eip4844 blob metrics --- core/node/proof_data_handler/src/metrics.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/node/proof_data_handler/src/metrics.rs b/core/node/proof_data_handler/src/metrics.rs index c3df429232ac..c3525ec2fcf1 100644 --- a/core/node/proof_data_handler/src/metrics.rs +++ b/core/node/proof_data_handler/src/metrics.rs @@ -1,5 +1,4 @@ use vise::{Histogram, Metrics}; -use zksync_basic_types::basic_fri_types::Eip4844Blobs; use zksync_object_store::StoredObject; use zksync_prover_interface::inputs::{ VMRunWitnessInputData, WitnessInputData, WitnessInputMerklePaths, @@ -12,8 +11,6 @@ pub(super) struct ProofDataHandlerMetrics { #[metrics(buckets = vise::Buckets::exponential(1.0..=2_048.0, 2.0))] pub merkle_paths_blob_size_in_mb: Histogram, #[metrics(buckets = vise::Buckets::exponential(1.0..=2_048.0, 2.0))] - pub eip_4844_blob_size_in_mb: Histogram, - #[metrics(buckets = vise::Buckets::exponential(1.0..=2_048.0, 2.0))] pub total_blob_size_in_mb: Histogram, } @@ -29,11 +26,6 @@ impl ProofDataHandlerMetrics { .unwrap() .len() as u64 / (1024 * 1024); - let eip_4844_blob_size_in_mb = - ::serialize(&blob.eip_4844_blobs) - .unwrap() - .len() as u64 - / (1024 * 1024); let total_blob_size_in_mb = ::serialize(blob) .unwrap() .len() as u64 @@ -43,8 +35,6 @@ impl ProofDataHandlerMetrics { .observe(vm_run_data_blob_size_in_mb); self.merkle_paths_blob_size_in_mb .observe(merkle_paths_blob_size_in_mb); - self.eip_4844_blob_size_in_mb - .observe(eip_4844_blob_size_in_mb); self.total_blob_size_in_mb.observe(total_blob_size_in_mb); } }