File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 9090 else "https://rpc.web4.near.page"
9191)
9292
93+ STELLAR_RPC_URL = (
94+ "https://soroban-testnet.stellar.org"
95+ if ENVIRONMENT == "testnet"
96+ else "https://stellar-soroban-public.nodies.app"
97+ )
98+
9399BLOCK_SAVE_HEIGHT = os .environ .get ("BLOCK_SAVE_HEIGHT" )
94100
95101COINGECKO_URL = (
Original file line number Diff line number Diff line change @@ -331,9 +331,7 @@ def address_to_string(obj):
331331@shared_task
332332def stellar_event_indexer ():
333333 server = stellar_sdk .SorobanServer (
334- "https://soroban-testnet.stellar.org"
335- if settings .ENVIRONMENT == "testnet" or settings .ENVIRONMENT == "local"
336- else "https://horizon.stellar.org"
334+ settings .STELLAR_RPC_URL
337335 )
338336 contract_ids = [settings .STELLAR_CONTRACT_ID , settings .STELLAR_PROJECTS_REGISTRY_CONTRACT ]
339337 if contract_ids == ['' , '' ]:
You can’t perform that action at this time.
0 commit comments