Skip to content

Commit 8d154e9

Browse files
add eth feed id as env var due to deviation of billing service (#2217)
1 parent c5f25e8 commit 8d154e9

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

framework/components/dockercompose/billing_platform_service/billing_platform_service.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,12 @@ func NewWithContext(ctx context.Context, in *Input) (*Output, error) {
126126
envVars["MAINNET_WORKFLOW_REGISTRY_CHAIN_SELECTOR"] = strconv.FormatUint(in.ChainSelector, 10)
127127
envVars["MAINNET_WORKFLOW_REGISTRY_CONTRACT_ADDRESS"] = in.WorkflowRegistryAddress
128128
envVars["MAINNET_WORKFLOW_REGISTRY_RPC_URL"] = in.RPCURL
129-
envVars["MAINNET_WORKFLOW_REGISTRY_FINALITY_DEPTH"] = "0" // Instant finality on devnet
130-
envVars["KMS_PROOF_SIGNING_KEY_ID"] = "00000000-0000-0000-0000-000000000001" // provisioned via LocalStack
131-
envVars["VERIFIER_INITIAL_INTERVAL"] = "0s" // reduced to force verifier to start immediately in integration tests
132-
envVars["VERIFIER_MAXIMUM_INTERVAL"] = "1s" // reduced to force verifier to start immediately in integration tests
133-
envVars["LINKING_REQUEST_COOLDOWN"] = "0s" // reduced to force consequtive linking requests to be processed immediately in integration tests
129+
envVars["MAINNET_WORKFLOW_REGISTRY_FINALITY_DEPTH"] = "0" // Instant finality on devnet
130+
envVars["KMS_PROOF_SIGNING_KEY_ID"] = "00000000-0000-0000-0000-000000000001" // provisioned via LocalStack
131+
envVars["VERIFIER_INITIAL_INTERVAL"] = "0s" // reduced to force verifier to start immediately in integration tests
132+
envVars["VERIFIER_MAXIMUM_INTERVAL"] = "1s" // reduced to force verifier to start immediately in integration tests
133+
envVars["LINKING_REQUEST_COOLDOWN"] = "0s" // reduced to force consequtive linking requests to be processed immediately in integration tests
134+
envVars["ETH_FEED_ID"] = "0x000359843a543ee2fe414dc14c7e7920ef10f4372990b79d6361cdc0dd1ba782" // set as default eth feed ID
134135

135136
envVars["MAINNET_CAPABILITIES_REGISTRY_CHAIN_SELECTOR"] = strconv.FormatUint(in.ChainSelector, 10)
136137
envVars["MAINNET_CAPABILITIES_REGISTRY_CONTRACT_ADDRESS"] = in.CapabilitiesRegistryAddress

framework/components/dockercompose/billing_platform_service/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ services:
4040
STREAMS_API_URL: ${STREAMS_API_URL:-}
4141
STREAMS_API_KEY: ${STREAMS_API_KEY:-}
4242
STREAMS_API_SECRET: ${STREAMS_API_SECRET:-}
43+
ETH_FEED_ID: ${ETH_FEED_ID:-}
4344
DB_HOST: postgres
4445
DB_PORT: 5432
4546
DB_NAME: billing_platform
@@ -99,6 +100,7 @@ services:
99100
TEST_OWNERS: ${TEST_OWNERS:-}
100101
DISABLE_AUTH: true
101102
MAINNET_CAPABILITIES_REGISTRY_CHAIN_SELECTOR: ${MAINNET_CAPABILITIES_REGISTRY_CHAIN_SELECTOR:-}
103+
ETH_FEED_ID: ${ETH_FEED_ID:-}
102104
DB_HOST: postgres
103105
DB_PORT: 5432
104106
DB_NAME: billing_platform

0 commit comments

Comments
 (0)