Skip to content

Commit

Permalink
fix: Disable svc manager address & eth rpc as mandatory - add eigenda…
Browse files Browse the repository at this point in the history
… client override when memstore enabled
  • Loading branch information
epociask committed Dec 3, 2024
1 parent e5b83ad commit 16ad49c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ func (cfg *Config) Check() error {
}
}

// provide dummy values to eigenda client config. Since the client won't be called in this
// mode it doesn't matter.
if cfg.MemstoreEnabled {
cfg.EdaClientConfig.SvcManagerAddr = "0x0000000000000000000000000000000000000000"
cfg.EdaClientConfig.EthRpcUrl = "http://0.0.0.0:666"
}

// cert verification is enabled
// TODO: move this verification logic to verify/cli.go
if cfg.VerifierConfig.VerifyCerts {
Expand Down

0 comments on commit 16ad49c

Please sign in to comment.