Skip to content

Commit 16cb412

Browse files
committed
v0.1.63 removing retry wrapper around Multicall to avoid retry loops on Errors, which are ok.
1 parent b8ba08d commit 16cb412

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

IceCreamSwapWeb3/Multicall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ def _inner_call(
177177
except Exception:
178178
if len(calls_with_calldata) == 1:
179179
try:
180-
raw_returns, gas_usages = exponential_retry(func_name="multicall")(func=self._call_multicall)(
180+
raw_returns, gas_usages = self._call_multicall(
181181
multicall_call=multicall_call,
182182
use_revert=use_revert,
183183
retry=self.w3.should_retry,
184-
no_retry=not self.w3.should_retry,
185184
state_override=state_override,
186185
block_identifier=block_identifier
187186
)
188187
except Exception as e:
188+
print(f"Single multicall to 0x{calls_with_calldata[0][0].address.hex()} and func {calls_with_calldata[0][0].signature} got Error: {repr(e)}")
189189
raw_returns = [e]
190190
gas_usages = [None]
191191
else:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = '0.1.62'
3+
VERSION = '0.1.63'
44
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
55
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
66

0 commit comments

Comments
 (0)