ETH-BTC Crypto Charge betaarchived
ETH and BTC momentum strategy to maximize gains in bull market and avoid losses in bear market, on Polygon
Strategy Logs
'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'
Traceback (most recent call last): (21 lines)
File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 435, in fetch_erc20_balances_fallback balances = fetch_erc20_balances_multicall( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/web3-ethereum-defi/eth_defi/balances.py", line 371, in fetch_erc20_balances_multicall batched_result = multicall() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 92, in __call__ response = await_awaitable(self) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 104, in await_awaitable return get_event_loop().run_until_complete(awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/tasks.py", line 694, in _wrap_awaitable return (yield from awaitable.__await__()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 100, in coroutine batches = await gather( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 127, in gather raise_if_exception_in(results) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 122, in raise_if_exception_in raise_if_exception(obj) File "/usr/local/lib/python3.11/site-packages/multicall/utils.py", line 117, in raise_if_exception raise obj File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 137, in fetch_outputs _raise_or_proceed(e, len(calls), ConnErr_retries=ConnErr_retries) File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 261, in _raise_or_proceed raise e File "/usr/local/lib/python3.11/site-packages/multicall/multicall.py", line 125, in fetch_outputs self.block_id, _, outputs = await self.aggregate.coroutine(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/eth_retry/eth_retry.py", line 60, in auto_retry_wrap_async return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/multicall/call.py", line 148, in coroutine output = await get_async_w3(_w3).eth.call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 270, in call return await self._durin_call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/eth/async_eth.py", line 289, in _durin_call return await self._call(transaction, block_identifier, state_override) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/module.py", line 118, in caller result = await async_w3.manager.coro_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 340, in coro_request return self.formatted_response( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/web3/manager.py", line 288, in formatted_response raise ValueError(error) ValueError: {'code': -32602, 'message': 'Unknown block number'}'fetch_erc20_balances_multicall() failed with %s, falling back to single call processing of balance fetches'