From 91c44a6edd5478fcec8f42ccb002afabd0f983a1 Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Thu, 29 Aug 2024 16:40:29 -0400 Subject: [PATCH] chore: Update large blob test to use 16mb - update docs --- .env.example.holesky | 2 +- .env.example.mainnet | 2 +- README.md | 2 +- server/config.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example.holesky b/.env.example.holesky index 776174c1..eaadd434 100644 --- a/.env.example.holesky +++ b/.env.example.holesky @@ -35,7 +35,7 @@ EIGENDA_PROXY_SERVICE_MANAGER_ADDR=0xD4A7E1Bd8015057293f0D0A557088c286942e84b # EIGENDA_PROXY_GRPC_DISABLE_TLS=false # Maximum blob length to be written or read from EigenDA. Determines the number of SRS points loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size slightly exceeds 1GB. -# EIGENDA_PROXY_MAX_BLOB_LENGTH=4MiB +# EIGENDA_PROXY_MAX_BLOB_LENGTH=16MiB # Blob encoding version to use when writing blobs from the high-level interface # EIGENDA_PROXY_PUT_BLOB_ENCODING_VERSION=0 diff --git a/.env.example.mainnet b/.env.example.mainnet index 75fa6e21..5ccc746e 100644 --- a/.env.example.mainnet +++ b/.env.example.mainnet @@ -34,7 +34,7 @@ EIGENDA_PROXY_SERVICE_MANAGER_ADDR=0x870679E138bCdf293b7Ff14dD44b70FC97e12fc0 # EIGENDA_PROXY_GRPC_DISABLE_TLS=false # Maximum blob length to be written or read from EigenDA. Determines the number of SRS points loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size slightly exceeds 1GB. -# EIGENDA_PROXY_MAX_BLOB_LENGTH=4MiB +# EIGENDA_PROXY_MAX_BLOB_LENGTH=16MiB # Blob encoding version to use when writing blobs from the high-level interface # EIGENDA_PROXY_PUT_BLOB_ENCODING_VERSION=0 diff --git a/README.md b/README.md index 2c6f0d75..75f6757c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ In order to disperse to the EigenDA network in production, or at high throughput | `--eigenda-eth-rpc` | | `$EIGENDA_PROXY_ETH_RPC` | JSON RPC node endpoint for the Ethereum network used for finalizing DA blobs. See available list here: https://docs.eigenlayer.xyz/eigenda/networks/ | | `--eigenda-g1-path` | `"resources/g1.point"` | `$EIGENDA_PROXY_TARGET_KZG_G1_PATH` | Directory path to g1.point file. | | `--eigenda-g2-tau-path` | `"resources/g2.point.powerOf2"` | `$EIGENDA_PROXY_TARGET_G2_TAU_PATH` | Directory path to g2.point.powerOf2 file. | -| `--eigenda-max-blob-length` | `"4MiB"` | `$EIGENDA_PROXY_MAX_BLOB_LENGTH` | Maximum blob length to be written or read from EigenDA. Determines the number of SRS points loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size slightly exceeds 1GB. | +| `--eigenda-max-blob-length` | `"16MiB"` | `$EIGENDA_PROXY_MAX_BLOB_LENGTH` | Maximum blob length to be written or read from EigenDA. Determines the number of SRS points loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size slightly exceeds 1GB. | | `--eigenda-put-blob-encoding-version` | `0` | `$EIGENDA_PROXY_PUT_BLOB_ENCODING_VERSION` | Blob encoding version to use when writing blobs from the high-level interface. | | `--eigenda-response-timeout` | `60s` | `$EIGENDA_PROXY_RESPONSE_TIMEOUT` | Total time to wait for a response from the EigenDA disperser. Default is 60 seconds. | | `--eigenda-signer-private-key-hex` | | `$EIGENDA_PROXY_SIGNER_PRIVATE_KEY_HEX` | Hex-encoded signer private key. This key should not be associated with an Ethereum address holding any funds. | diff --git a/server/config.go b/server/config.go index 77edb71e..ff1d084a 100644 --- a/server/config.go +++ b/server/config.go @@ -372,7 +372,7 @@ func CLIFlags() []cli.Flag { Name: MaxBlobLengthFlagName, Usage: "Maximum blob length to be written or read from EigenDA. Determines the number of SRS points loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size slightly exceeds 1GB.", EnvVars: prefixEnvVars("MAX_BLOB_LENGTH"), - Value: "4MiB", + Value: "16MiB", }, &cli.StringFlag{ Name: G1PathFlagName,