Skip to content

Commit

Permalink
chore: remove data market in request config field
Browse files Browse the repository at this point in the history
  • Loading branch information
anomit committed Dec 13, 2024
1 parent c8b4309 commit ce14e44
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions config/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@ type Settings struct {
RelayerPrivateKey string
SlackReportingUrl string
DataMarketAddress string
DataMarketInRequest bool
RedisDB string
}

func LoadConfig() {
dataMarketInRequest, err := strconv.ParseBool(getEnv("DATA_MARKET_IN_REQUEST", "false"))
if err != nil {
log.Fatalf("Invalid value for DATA_MARKET_IN_REQUEST: %v", err)
}
config := Settings{
ClientUrl: getEnv("PROST_RPC_URL", ""),
ContractAddress: getEnv("PROTOCOL_STATE_CONTRACT", ""),
Expand All @@ -36,8 +31,7 @@ func LoadConfig() {
RelayerPrivateKey: getEnv("RELAYER_PRIVATE_KEY", ""),
SlackReportingUrl: getEnv("SLACK_REPORTING_URL", ""),
DataMarketAddress: getEnv("DATA_MARKET_ADDRESS", ""),
RedisDB: getEnv("REDIS_DB", ""),
DataMarketInRequest: dataMarketInRequest,
RedisDB: getEnv("REDIS_DB", "")
}


Expand Down

0 comments on commit ce14e44

Please sign in to comment.