Skip to content

Commit 084e08d

Browse files
fix: add blobscan DIRECT_URL env var (#936)
Fixes #916
1 parent 13dbe4d commit 084e08d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/tests/mix-with-tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ additional_services:
2020
- prometheus_grafana
2121
- spamoor_blob
2222
- custom_flood
23+
- blobscan
2324
- dugtrio
2425
- blutgang
2526
- apache

src/blobscan/blobscan_launcher.star

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def get_api_config(
171171
env_vars={
172172
"CHAIN_ID": network_id,
173173
"DATABASE_URL": postgres_url,
174+
"DIRECT_URL": postgres_url,
174175
"REDIS_URI": redis_url,
175176
"SECRET_KEY": SECRET_KEY,
176177
"BLOBSCAN_API_PORT": str(API_HTTP_PORT_NUMBER),
@@ -229,6 +230,7 @@ def get_web_config(
229230
public_ports=public_ports,
230231
env_vars={
231232
"DATABASE_URL": postgres_url,
233+
"DIRECT_URL": postgres_url,
232234
"NEXT_PUBLIC_NETWORK_NAME": network_name
233235
if network_name in constants.PUBLIC_NETWORKS
234236
else "devnet",

0 commit comments

Comments
 (0)