diff --git a/.env.example.holesky b/.env.example.holesky index 5606cb7..776174c 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=2MiB +# EIGENDA_PROXY_MAX_BLOB_LENGTH=4MiB # Blob encoding version to use when writing blobs from the high-level interface # EIGENDA_PROXY_PUT_BLOB_ENCODING_VERSION=0 @@ -86,4 +86,4 @@ EIGENDA_PROXY_SERVICE_MANAGER_ADDR=0xD4A7E1Bd8015057293f0D0A557088c286942e84b # EIGENDA_PROXY_S3_BUCKET= # endpoint for S3 storage -# EIGENDA_PROXY_S3_ENDPOINT \ No newline at end of file +# EIGENDA_PROXY_S3_ENDPOINT diff --git a/.env.example.mainnet b/.env.example.mainnet index 6eff98f..75fa6e2 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=2MiB +# EIGENDA_PROXY_MAX_BLOB_LENGTH=4MiB # 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 2fc3e55..34c64ef 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` | `"2MiB"` | `$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` | `"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-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` | `10s` | `$EIGENDA_PROXY_RESPONSE_TIMEOUT` | Total time to wait for a response from the EigenDA disperser. Default is 10 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 42f1bd3..cb2a48e 100644 --- a/server/config.go +++ b/server/config.go @@ -280,7 +280,7 @@ func CLIFlags(envPrefix string) []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: "2MiB", + Value: "4MiB", }, &cli.StringFlag{ Name: G1PathFlagName,