Skip to content

Commit df7a0be

Browse files
committed
v0.1.9 bug fix
1 parent 4ab7ac8 commit df7a0be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IceCreamSwapWeb3/Multicall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _build_calldata(self, calls_with_calldata: list[tuple[ContractFunction, byte
200200

201201
encoded_calls = []
202202
for call, call_data in calls_with_calldata:
203-
to_address = call.address if call.address != 0 else self.address
203+
to_address = call.address if call.address != 0 else self.undeployed_contract_address
204204
encoded_calls.append((to_address, 100_000_000, call_data)) # target, gasLimit, callData
205205

206206
# build multicall transaction

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.8'
3+
VERSION = '0.1.9'
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)