Skip to content

Commit fd40920

Browse files
committed
Separate backend settings
Signed-off-by: cyc60 <[email protected]>
1 parent b73e1d3 commit fd40920

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

oracle/networks.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
NETWORKS = {
2121
MAINNET: dict(
2222
STAKEWISE_SUBGRAPH_URLS=config(
23-
"STAKEWISE_SUBGRAPH_URLS",
23+
"MAINNET_STAKEWISE_SUBGRAPH_URLS",
2424
default="https://graph.stakewise.io/subgraphs/name/stakewise/stakewise,https://api.thegraph.com/subgraphs/name/stakewise/stakewise-mainnet",
2525
cast=Csv(),
2626
),
2727
ETHEREUM_SUBGRAPH_URLS=config(
28-
"ETHEREUM_SUBGRAPH_URLS",
28+
"MAINNET_ETHEREUM_SUBGRAPH_URLS",
2929
default="https://graph.stakewise.io/subgraphs/name/stakewise/ethereum,https://api.thegraph.com/subgraphs/name/stakewise/ethereum-mainnet",
3030
cast=Csv(),
3131
),
3232
UNISWAP_V3_SUBGRAPH_URLS=config(
33-
"UNISWAP_V3_SUBGRAPH_URLS",
33+
"MAINNET_UNISWAP_V3_SUBGRAPH_URLS",
3434
default="https://graph.stakewise.io/subgraphs/name/stakewise/uniswap-v3,https://api.thegraph.com/subgraphs/name/stakewise/uniswap-v3-mainnet",
3535
cast=Csv(),
3636
),
@@ -336,22 +336,22 @@
336336
),
337337
GNOSIS_CHAIN: dict(
338338
STAKEWISE_SUBGRAPH_URLS=config(
339-
"STAKEWISE_SUBGRAPH_URLS",
339+
"GNOSIS_STAKEWISE_SUBGRAPH_URLS",
340340
default="https://api.thegraph.com/subgraphs/name/stakewise/stakewise-gnosis,https://graph-gno.stakewise.io/subgraphs/name/stakewise/stakewise",
341341
cast=Csv(),
342342
),
343343
ETHEREUM_SUBGRAPH_URLS=config(
344-
"ETHEREUM_SUBGRAPH_URLS",
344+
"GNOSIS_ETHEREUM_SUBGRAPH_URLS",
345345
default="https://api.thegraph.com/subgraphs/name/stakewise/ethereum-gnosis,https://graph-gno.stakewise.io/subgraphs/name/stakewise/ethereum",
346346
cast=Csv(),
347347
),
348348
UNISWAP_V3_SUBGRAPH_URLS=config(
349-
"UNISWAP_V3_SUBGRAPH_URLS",
349+
"GNOSIS_UNISWAP_V3_SUBGRAPH_URLS",
350350
default="",
351351
cast=Csv(),
352352
),
353-
ETH1_ENDPOINT=config("ETH1_ENDPOINT", default=""),
354-
ETH2_ENDPOINT=config("ETH2_ENDPOINT", default=""),
353+
ETH1_ENDPOINT=config("GNOSIS_ETH1_ENDPOINT", default=""),
354+
ETH2_ENDPOINT=config("GNOSIS_ETH2_ENDPOINT", default=""),
355355
VALIDATORS_FETCH_CHUNK_SIZE=config(
356356
"VALIDATORS_FETCH_CHUNK_SIZE",
357357
default=100,

0 commit comments

Comments
 (0)