File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,10 @@ def get_filter(
110
110
else :
111
111
worker_url = get_text (f'{ gateway_url } /{ from_block } /worker' )
112
112
113
+ if os .getenv ("SUBSQUID_USE_IP_PROXY" , "true" ).lower () == "true" :
114
+ assert worker_url .startswith ("https://" )
115
+ worker_url = "https://rpc-internal.icecreamswap.com/proxy/" + worker_url [8 :]
116
+
113
117
query ['fromBlock' ] = from_block
114
118
res = requests .post (worker_url , json = query )
115
119
res .raise_for_status ()
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
3
- VERSION = '0.3.0 '
3
+ VERSION = '0.3.1 '
4
4
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
5
5
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
6
6
You can’t perform that action at this time.
0 commit comments