Skip to content

Commit 31af8ea

Browse files
committed
v0.2.3 Fixed ordering of get_logs responses
1 parent c83f5c7 commit 31af8ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IceCreamSwapWeb3/EthAdvanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def get_logs(
273273
events, to_block_body = batch_results
274274
else:
275275
from_block_body: BlockData
276-
events, to_block_body, from_block_body = batch_results
276+
from_block_body, events, to_block_body = batch_results
277277
assert from_block_body["number"] == from_block, "eth_getLogs RPC returned unexpected from block number"
278278
if from_block_body["parentHash"].to_0x_hex() != from_block_parent_hash:
279279
raise ForkedBlock(f"expected={from_block_parent_hash}, actual={from_block_body['parentHash'].to_0x_hex()}")

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.2.2'
3+
VERSION = '0.2.3'
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)