From ca08e23a59b0a1d88b34b9f80dc41174f8aaa12b Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 27 Aug 2024 18:17:28 +0000 Subject: [PATCH 1/2] change disperseBlob response timeout to 60sec --- server/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/config.go b/server/config.go index 57e389a..da0b32a 100644 --- a/server/config.go +++ b/server/config.go @@ -299,8 +299,8 @@ func CLIFlags() []cli.Flag { }, &cli.DurationFlag{ Name: ResponseTimeoutFlagName, - Usage: "Total time to wait for a response from the EigenDA disperser. Default is 10 seconds.", - Value: 10 * time.Second, + Usage: "Total time to wait for a response from the EigenDA disperser. Default is 60 seconds.", + Value: 60 * time.Second, EnvVars: prefixEnvVars("RESPONSE_TIMEOUT"), }, &cli.UintSliceFlag{ From a3b9a9dce11b4e6c4ecd7505cde46a6ef4b7dc76 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 28 Aug 2024 14:33:54 +0000 Subject: [PATCH 2/2] fix README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26fa048..97936d0 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ In order to disperse to the EigenDA network in production, or at high throughput | `--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-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-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. | | `--eigenda-status-query-retry-interval` | `5s` | `$EIGENDA_PROXY_STATUS_QUERY_INTERVAL` | Interval between retries when awaiting network blob finalization. Default is 5 seconds. | | `--eigenda-status-query-timeout` | `30m0s` | `$EIGENDA_PROXY_STATUS_QUERY_TIMEOUT` | Duration to wait for a blob to finalize after being sent for dispersal. Default is 30 minutes. |