You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove -v from make test
* refactor: config checker
one rule was broken due to new semantics of confDepth flag, which can't be negative anymore
* fix: config tests
* fix: lint
* feat: add new eigenda-cert-verification-enabled flag
* fix: config tests
* docs: update readme with new cert-verification-enabled flag info
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,9 @@ In order to disperse to the EigenDA network in production, or at high throughput
30
30
|`--eigenda-custom-quorum-ids`||`$EIGENDA_PROXY_CUSTOM_QUORUM_IDS`| Custom quorum IDs for writing blobs. Should not include default quorums 0 or 1. |
31
31
|`--eigenda-disable-point-verification-mode`|`false`|`$EIGENDA_PROXY_DISABLE_POINT_VERIFICATION_MODE`| Disable point verification mode. This mode performs IFFT on data before writing and FFT on data after reading. Disabling requires supplying the entire blob for verification against the KZG commitment. |
32
32
|`--eigenda-disable-tls`|`false`|`$EIGENDA_PROXY_GRPC_DISABLE_TLS`| Disable TLS for gRPC communication with the EigenDA disperser. Default is false. |
33
+
| --eigenda-cert-verification-enabled |`false`|`$EIGENDA_PROXY_CERT_VERIFICATION_ENABLED`| Whether to verify certificates received from EigenDA disperser. |
33
34
|`--eigenda-disperser-rpc`||`$EIGENDA_PROXY_EIGENDA_DISPERSER_RPC`| RPC endpoint of the EigenDA disperser. |
35
+
|`--eigenda-svc-manager-addr`||`$EIGENDA_PROXY_SERVICE_MANAGER_ADDR`| The deployed EigenDA service manager address. The list can be found here: https://github.com/Layr-Labs/eigenlayer-middleware/?tab=readme-ov-file#current-mainnet-deployment|
34
36
|`--eigenda-eth-confirmation-depth`|`-1`|`$EIGENDA_PROXY_ETH_CONFIRMATION_DEPTH`| The number of Ethereum blocks of confirmation that the DA bridging transaction must have before it is assumed by the proxy to be final. If set negative the proxy will always wait for blob finalization. |
35
37
|`--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/|
36
38
|`--eigenda-g1-path`|`"resources/g1.point"`|`$EIGENDA_PROXY_TARGET_KZG_G1_PATH`| Directory path to g1.point file. |
@@ -41,7 +43,6 @@ In order to disperse to the EigenDA network in production, or at high throughput
41
43
|`--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. |
42
44
|`--eigenda-status-query-retry-interval`|`5s`|`$EIGENDA_PROXY_STATUS_QUERY_INTERVAL`| Interval between retries when awaiting network blob finalization. Default is 5 seconds. |
43
45
|`--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. |
44
-
|`--eigenda-svc-manager-addr`||`$EIGENDA_PROXY_SERVICE_MANAGER_ADDR`| The deployed EigenDA service manager address. The list can be found here: https://github.com/Layr-Labs/eigenlayer-middleware/?tab=readme-ov-file#current-mainnet-deployment|
45
46
|`--log.color`|`false`|`$EIGENDA_PROXY_LOG_COLOR`| Color the log output if in terminal mode. |
46
47
|`--log.format`|`text`|`$EIGENDA_PROXY_LOG_FORMAT`| Format the log output. Supported formats: 'text', 'terminal', 'logfmt', 'json', 'json-pretty'. |
47
48
|`--log.level`|`INFO`|`$EIGENDA_PROXY_LOG_LEVEL`| The lowest log level that will be output. |
// TODO: ideally we'd want this to be turned on by default when eigenda backend is used (memstore.enabled=false)
463
+
Value: false,
464
+
},
456
465
&cli.StringFlag{
457
-
Name: EthRPCFlagName,
458
-
Usage: "JSON RPC node endpoint for the Ethereum network used for finalizing DA blobs. See available list here: https://docs.eigenlayer.xyz/eigenda/networks/",
466
+
Name: EthRPCFlagName,
467
+
Usage: "JSON RPC node endpoint for the Ethereum network used for finalizing DA blobs.\n"+
468
+
"See available list here: https://docs.eigenlayer.xyz/eigenda/networks/\n"+
469
+
fmt.Sprintf("Mandatory when %s is true.", CertVerificationEnabledFlagName),
459
470
EnvVars: prefixEnvVars("ETH_RPC"),
460
471
},
461
472
&cli.StringFlag{
462
-
Name: SvcManagerAddrFlagName,
463
-
Usage: "The deployed EigenDA service manager address. The list can be found here: https://github.com/Layr-Labs/eigenlayer-middleware/?tab=readme-ov-file#current-mainnet-deployment",
473
+
Name: SvcManagerAddrFlagName,
474
+
Usage: "The deployed EigenDA service manager address.\n"+
475
+
"The list can be found here: https://github.com/Layr-Labs/eigenlayer-middleware/?tab=readme-ov-file#current-mainnet-deployment\n"+
476
+
fmt.Sprintf("Mandatory when %s is true.", CertVerificationEnabledFlagName),
464
477
EnvVars: prefixEnvVars("SERVICE_MANAGER_ADDR"),
465
478
},
466
479
&cli.Int64Flag{
467
-
Name: EthConfirmationDepthFlagName,
468
-
Usage: "The number of Ethereum blocks to wait before considering a submitted blob's DA batch submission confirmed. `0` means wait for inclusion only. `-1` means wait for finality.",
480
+
Name: EthConfirmationDepthFlagName,
481
+
Usage: "The number of Ethereum blocks to wait before considering a submitted blob's DA batch submission confirmed.\n"+
482
+
"`0` means wait for inclusion only. `-1` means wait for finality.",
0 commit comments