Skip to content

Commit 17c3e67

Browse files
committed
refactor(EigenDADirectory): help msgs
1 parent dfc9e70 commit 17c3e67

File tree

15 files changed

+46
-43
lines changed

15 files changed

+46
-43
lines changed

api/clients/v2/examples/client_construction.go

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@ import (
2828
// These constants are specific to the EigenDA holesky testnet. To execute the provided examples on a different
2929
// network, you will need to set these constants to the correct values, based on the chosen network.
3030
const (
31-
ethRPCURL = "https://ethereum-holesky-rpc.publicnode.com"
32-
disperserHostname = "disperser-testnet-holesky.eigenda.xyz"
33-
certVerifierRouterAddress = "0x7F40A8e1B62aa1c8Afed23f6E8bAe0D340A4BC4e"
34-
registryCoordinatorAddress = "0x53012C69A189cfA2D9d29eb6F19B32e0A2EA3490"
31+
ethRPCURL = "https://ethereum-holesky-rpc.publicnode.com"
32+
disperserHostname = "disperser-testnet-holesky.eigenda.xyz"
33+
certVerifierRouterAddress = "0x7F40A8e1B62aa1c8Afed23f6E8bAe0D340A4BC4e"
34+
registryCoordinatorAddress = "0x53012C69A189cfA2D9d29eb6F19B32e0A2EA3490"
35+
// To build Eth Client
36+
eigendaDirectoryAddress = "0x90776Ea0E99E4c38aA1Efe575a61B3E40160A2FE"
37+
// These two addresses are no longer required for the Eth Client, but parameter is still being taken until we deprecate the flags
38+
eigenDAServiceManagerAddress = ""
39+
// blsOperatorStateRetrieverAddress is still used for CertBuilder
3540
blsOperatorStateRetrieverAddress = "0x003497Dd77E5B73C40e8aCbB562C8bb0410320E7"
36-
eigenDAServiceManagerAddress = "0xD4A7E1Bd8015057293f0D0A557088c286942e84b"
37-
eigendaDirectoryAddress = "0x90776Ea0E99E4c38aA1Efe575a61B3E40160A2FE"
3841
)
3942

4043
func createPayloadDisperser(privateKey string) (*payloaddispersal.PayloadDisperser, error) {

api/proxy/config/v2/eigendaflags/cli.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,21 @@ func CLIFlags(envPrefix, category string) []cli.Flag {
119119
},
120120
&cli.StringFlag{
121121
Name: ServiceManagerAddrFlagName,
122-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager contract.",
122+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager contract.",
123123
EnvVars: []string{withEnvPrefix(envPrefix, "SERVICE_MANAGER_ADDR")},
124124
Category: category,
125125
Required: false,
126126
},
127127
&cli.StringFlag{
128128
Name: BLSOperatorStateRetrieverFlagName,
129-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state retriever contract.",
129+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state retriever contract.",
130130
EnvVars: []string{withEnvPrefix(envPrefix, "BLS_OPERATOR_STATE_RETRIEVER_ADDR")},
131131
Category: category,
132132
Required: false,
133133
},
134134
&cli.StringFlag{
135135
Name: EigenDADirectoryFlagName,
136-
Usage: "Address of the EigenDA directory contract.",
136+
Usage: "Address of the EigenDA directory contract, which points to all other EigenDA contract addresses. This is the only contract entrypoint needed offchain..",
137137
EnvVars: []string{withEnvPrefix(envPrefix, "EIGENDA_DIRECTORY")},
138138
Category: category,
139139
Required: false,

api/proxy/docs/help_out.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ GLOBAL OPTIONS:
5555
--eigenda.v2.blob-status-poll-interval value Duration to query for blob status updates during dispersal. (default: 1s) [$EIGENDA_PROXY_EIGENDA_V2_BLOB_STATUS_POLL_INTERVAL]
5656
--eigenda.v2.blob-version value Blob params version used when dispersing. This refers to a global version maintained by EigenDA
5757
governance and is injected in the BlobHeader before dispersing. Currently only supports (0). (default: 0) [$EIGENDA_PROXY_EIGENDA_V2_BLOB_PARAMS_VERSION]
58-
--eigenda.v2.bls-operator-state-retriever-addr value [Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state retriever contract. [$EIGENDA_PROXY_EIGENDA_V2_BLS_OPERATOR_STATE_RETRIEVER_ADDR]
58+
--eigenda.v2.bls-operator-state-retriever-addr value [Deprecated: use EigenDADirectory instead] Address of the BLS operator state retriever contract. [$EIGENDA_PROXY_EIGENDA_V2_BLS_OPERATOR_STATE_RETRIEVER_ADDR]
5959
--eigenda.v2.cert-verifier-router-or-immutable-verifier-addr value Address of either the EigenDACertVerifierRouter or immutable EigenDACertVerifier contract. Required for performing eth_calls to verify EigenDA certificates. [$EIGENDA_PROXY_EIGENDA_V2_CERT_VERIFIER_ROUTER_OR_IMMUTABLE_VERIFIER_ADDR]
6060
--eigenda.v2.contract-call-timeout value Timeout used when performing smart contract call operation (i.e, eth_call). (default: 10s) [$EIGENDA_PROXY_EIGENDA_V2_CONTRACT_CALL_TIMEOUT]
6161
--eigenda.v2.disable-point-evaluation Disables IFFT transformation done during payload encoding. Using this mode results in blobs that can't be proven. (default: false) [$EIGENDA_PROXY_EIGENDA_V2_DISABLE_POINT_EVALUATION]
6262
--eigenda.v2.disable-tls Disable TLS for gRPC communication with the EigenDA disperser and retrieval subnet. (default: false) [$EIGENDA_PROXY_EIGENDA_V2_GRPC_DISABLE_TLS]
6363
--eigenda.v2.disperse-blob-timeout value Maximum amount of time to wait for a blob to disperse against v2 protocol. (default: 2m0s) [$EIGENDA_PROXY_EIGENDA_V2_DISPERSE_BLOB_TIMEOUT]
6464
--eigenda.v2.disperser-rpc value RPC endpoint of the EigenDA disperser. [$EIGENDA_PROXY_EIGENDA_V2_DISPERSER_RPC]
65-
--eigenda.v2.eigenda-directory value Address of the EigenDA directory contract. [$EIGENDA_PROXY_EIGENDA_V2_EIGENDA_DIRECTORY]
65+
--eigenda.v2.eigenda-directory value Address of the EigenDA directory contract, which points to all other EigenDA contract addresses. This is the only contract entrypoint needed offchain.. [$EIGENDA_PROXY_EIGENDA_V2_EIGENDA_DIRECTORY]
6666
--eigenda.v2.eth-rpc value URL of the Ethereum RPC endpoint. [$EIGENDA_PROXY_EIGENDA_V2_ETH_RPC]
6767
--eigenda.v2.max-blob-length value Maximum blob length to be written or read from EigenDA. Determines the number of SRS points
6868
loaded into memory for KZG commitments. Example units: '30MiB', '4Kb', '30MB'. Maximum size
@@ -79,7 +79,7 @@ in the rollup's batch inbox. A cert is valid when cert.RBN < certL1InclusionBloc
7979
and otherwise is considered stale and verification will fail, and a 418 HTTP error will be returned.
8080
This check is optional and will be skipped when set to 0. (default: 0) [$EIGENDA_PROXY_EIGENDA_V2_RBN_RECENCY_WINDOW_SIZE]
8181
--eigenda.v2.relay-timeout value Timeout used when querying an individual relay for blob contents. (default: 10s) [$EIGENDA_PROXY_EIGENDA_V2_RELAY_TIMEOUT]
82-
--eigenda.v2.service-manager-addr value [Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager contract. [$EIGENDA_PROXY_EIGENDA_V2_SERVICE_MANAGER_ADDR]
82+
--eigenda.v2.service-manager-addr value [Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager contract. [$EIGENDA_PROXY_EIGENDA_V2_SERVICE_MANAGER_ADDR]
8383
--eigenda.v2.signer-payment-key-hex value Hex-encoded signer private key. Used for authorizing payments with EigenDA disperser. Should not be associated with an Ethereum address holding any funds. [$EIGENDA_PROXY_EIGENDA_V2_SIGNER_PRIVATE_KEY_HEX]
8484
--eigenda.v2.validator-timeout value Timeout used when retrieving chunks directly from EigenDA validators. This is a secondary retrieval method, in case retrieval from the relay network fails. (default: 2m0s) [$EIGENDA_PROXY_EIGENDA_V2_VALIDATOR_TIMEOUT]
8585

disperser/cmd/apiserver/flags/flags.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ var (
4848
}
4949
BlsOperatorStateRetrieverFlag = cli.StringFlag{
5050
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
51-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
51+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
5252
Required: false,
5353
EnvVar: common.PrefixEnvVar(envVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
5454
}
5555
EigenDAServiceManagerFlag = cli.StringFlag{
5656
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
57-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
57+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
5858
Required: false,
5959
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_SERVICE_MANAGER"),
6060
}
6161
EigenDADirectoryFlag = cli.StringFlag{
6262
Name: common.PrefixFlag(FlagPrefix, "eigenda-directory"),
63-
Usage: "Address of the EigenDA Directory contract",
63+
Usage: "Address of the EigenDA directory contract, which points to all other EigenDA contract addresses. This is the only contract entrypoint needed offchain.",
6464
Required: false,
6565
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_DIRECTORY"),
6666
}

disperser/cmd/batcher/flags/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ var (
3838
}
3939
BlsOperatorStateRetrieverFlag = cli.StringFlag{
4040
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
41-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
41+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
4242
Required: false,
4343
EnvVar: common.PrefixEnvVar(envVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
4444
}
4545
EigenDAServiceManagerFlag = cli.StringFlag{
4646
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
47-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
47+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
4848
Required: false,
4949
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_SERVICE_MANAGER"),
5050
}

disperser/cmd/controller/flags/flags.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ var (
2525
}
2626
EigenDADirectoryFlag = cli.StringFlag{
2727
Name: common.PrefixFlag(FlagPrefix, "eigenda-directory"),
28-
Usage: "Address of the EigenDA Directory contract",
28+
Usage: "Address of the EigenDA directory contract, which points to all other EigenDA contract addresses. This is the only contract entrypoint needed offchain.",
2929
Required: false,
3030
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_DIRECTORY"),
3131
}
3232
BlsOperatorStateRetrieverFlag = cli.StringFlag{
3333
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
34-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
34+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
3535
Required: false,
3636
EnvVar: common.PrefixEnvVar(envVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
3737
}
3838
EigenDAServiceManagerFlag = cli.StringFlag{
3939
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
40-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
40+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
4141
Required: false,
4242
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_SERVICE_MANAGER"),
4343
}

disperser/cmd/dataapi/flags/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ var (
7979
}
8080
BlsOperatorStateRetrieverFlag = cli.StringFlag{
8181
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
82-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
82+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
8383
Required: false,
8484
EnvVar: common.PrefixEnvVar(envVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
8585
}
8686
EigenDAServiceManagerFlag = cli.StringFlag{
8787
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
88-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
88+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
8989
Required: false,
9090
EnvVar: common.PrefixEnvVar(envVarPrefix, "EIGENDA_SERVICE_MANAGER"),
9191
}

node/flags/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ var (
164164
}
165165
BlsOperatorStateRetrieverFlag = cli.StringFlag{
166166
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
167-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
167+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
168168
Required: false,
169169
EnvVar: common.PrefixEnvVar(EnvVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
170170
}
171171
EigenDAServiceManagerFlag = cli.StringFlag{
172172
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
173-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
173+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
174174
Required: false,
175175
EnvVar: common.PrefixEnvVar(EnvVarPrefix, "EIGENDA_SERVICE_MANAGER"),
176176
}

node/plugin/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,19 @@ var (
114114
}
115115
BlsOperatorStateRetrieverFlag = cli.StringFlag{
116116
Name: "bls-operator-state-retriever",
117-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
117+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
118118
Required: false,
119119
EnvVar: common.PrefixEnvVar(flags.EnvVarPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
120120
}
121121
EigenDAServiceManagerFlag = cli.StringFlag{
122122
Name: "eigenda-service-manager",
123-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
123+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
124124
Required: false,
125125
EnvVar: common.PrefixEnvVar(flags.EnvVarPrefix, "EIGENDA_SERVICE_MANAGER"),
126126
}
127127
EigenDADirectoryFlag = cli.StringFlag{
128128
Name: "eigenda-directory",
129-
Usage: "Address of the EigenDA Directory contract",
129+
Usage: "Address of the EigenDA directory contract, which points to all other EigenDA contract addresses. This is the only contract entrypoint needed offchain.",
130130
Required: false,
131131
EnvVar: common.PrefixEnvVar(flags.EnvVarPrefix, "EIGENDA_DIRECTORY"),
132132
}

operators/churner/flags/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ var (
3434
}
3535
BlsOperatorStateRetrieverFlag = cli.StringFlag{
3636
Name: common.PrefixFlag(FlagPrefix, "bls-operator-state-retriever"),
37-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the BLS operator state Retriever",
37+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the BLS operator state Retriever",
3838
Required: false,
3939
EnvVar: common.PrefixEnvVar(envPrefix, "BLS_OPERATOR_STATE_RETRIVER"),
4040
}
4141
EigenDAServiceManagerFlag = cli.StringFlag{
4242
Name: common.PrefixFlag(FlagPrefix, "eigenda-service-manager"),
43-
Usage: "[Deprecating soon in favor of EigenDADirectory] Address of the EigenDA Service Manager",
43+
Usage: "[Deprecated: use EigenDADirectory instead] Address of the EigenDA Service Manager",
4444
Required: false,
4545
EnvVar: common.PrefixEnvVar(envPrefix, "EIGENDA_SERVICE_MANAGER"),
4646
}

0 commit comments

Comments
 (0)