Skip to content

Commit

Permalink
Change blob size to 2MB
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Sep 16, 2024
1 parent 9500d72 commit b538526
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/node/da_clients/src/eigen_da.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct EigenDAClient {
}

impl EigenDAClient {
pub const BLOB_SIZE_LIMIT_IN_BYTES: usize = 10 * 1024 * 1024; // 10MB
pub const BLOB_SIZE_LIMIT_IN_BYTES: usize = 2 * 1024 * 1024; // 2MB

pub async fn new(config: EigenDAConfig) -> anyhow::Result<Self> {
Ok(Self {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
image: ghcr.io/layr-labs/eigenda-proxy
ports:
- "4242:4242"
command: ./eigenda-proxy --addr 0.0.0.0 --port 4242 --memstore.enabled
command: ./eigenda-proxy --addr 0.0.0.0 --port 4242 --memstore.enabled --eigenda-max-blob-length "2MiB"

eigenda-metrics:
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion etc/env/configs/dev_validium.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pubdata_overhead_part=0.0
batch_overhead_l1_gas=1000000
# This value should be higher for Validium, but now it is not compatible with the current blobs model.
# For this config to be set to its proper value we need to fully integrate Validium + Blobs.
max_pubdata_per_batch=100000
max_pubdata_per_batch=2097152
fee_model_version="V2"
l1_batch_commit_data_generator_mode="Validium"

Expand Down

0 comments on commit b538526

Please sign in to comment.