We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b1e8c commit c090886Copy full SHA for c090886
IceCreamSwapWeb3/EthAdvanced.py
@@ -290,6 +290,8 @@ def get_logs(
290
p_bar.update(num_blocks)
291
return events
292
except Exception as e:
293
+ if isinstance(e, ForkedBlock):
294
+ raise
295
# split the filter range and try again
296
print(f"eth_getLogs between block {from_block} and {to_block} returned {repr(e)}, splitting and retrying")
297
mid_block = (from_block + to_block) // 2
setup.py
@@ -1,6 +1,6 @@
1
from setuptools import setup, find_packages
2
3
-VERSION = '0.2.4'
+VERSION = '0.2.5'
4
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
5
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
6
0 commit comments