-
-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Environment information
ape
and plugin versions:
$ ape --version
0.5.5
$ ape plugins list
Installed Plugins:
arbitrum 0.5.1
alchemy 0.5.2
etherscan 0.5.4
- Python Version: 3.10.8
- OS: macOS
What went wrong?
Please include information like:
running the following in console gets stuck for me (no more output, no errors) using alchemy as my default provider:
Contract('0x4d224452801ACEd8B2F0aebE155379bb5D594381').Transfer.query('*', start_block=14204533)
ethereum:
default_network: mainnet
mainnet:
default_provider: alchemy
however, if i connect to alchemy directly (ie without using ape-alchemy
):
geth:
ethereum:
mainnet:
uri: https://eth-mainnet.g.alchemy.com/v2/XXX
i get the following error back:
ProviderError: Log response size exceeded. You can make eth_getLogs requests with up to a 2K block range and no limit on the response size, or you can request any block range with a cap of 10K logs in the response. Based on your parameters and the response size limit, this block range should work: [0xdbb82d, 0xdbca64]
(note that if i pass stop_block=14404196
, as proposed by the error, i do get results back for both the ape-alchemy
and the geth
approach)
How can it be fixed?
feels to me the error should be raised all the way when using ape-alchemy
, this in order to prevent endless waiting and not knowing what went wrong.