carver on v5
Increase default timeout Was g… Merge pull request #2485 from c… (compare)
fselmo on master
Init commit of async contract: … More async contract: - setting… add non-ens normalize_address f… and 5 more (compare)
admin(), which triggers a validation error in web3.py. I can't think of a good reason for there to be such duplicates in the ABI intentionally, it just looks broken. Maybe you could publish one that doesn't have duplicates? https://compound.finance/docs/abi/mainnet/Comptroller
LATEST_BLOCK = 10226095 STEP_SIZE = 100_000 for i in range(0, int(1_000_000 / STEP_SIZE)): filter_builder = cDAI.events.LiquidateBorrow.build_filter() filter_builder.fromBlock = LATEST_BLOCK - ((i + 1) * STEP_SIZE) filter_builder.toBlock = LATEST_BLOCK - (i * STEP_SIZE) filter_instance = filter_builder.deploy(w3) entries = filter_instance.get_all_entries() if len(entries) > 0: print(i, entries)
@brschkv I think the best way to debug - would be try to run your own node and test against it
I don't have the infrastructure at hand to do that unfortunately...
maybe there is a difference how web3.py and web3.js construct the query
I hope I can make some time to look into that later.