Contract filtering doesn't seem to work for logs
mwakaba2 opened this issue · comments
Mariko Wakabayashi commented
Version
$ cryo --version
cryo 0.2.0-180-g6e9ec88
Platform
Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
Description
The --contract
filter doesn't work for logs.
I tried this code:
$ cryo logs \
--label uniswap_v2_pools \
--blocks latest --contract 0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
I expected to see this happen: Only see logs for contract 0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Instead, this happened: The parquet contains all logs for the latest block, so it seems like the contract filter isn't working.