blockchain-etl / ethereum-etl

Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions. Data is available in Google BigQuery https://goo.gl/oY5BCQ
https://t.me/BlockchainETL
MIT License
2.87k stars 812 forks source link

Export all doesn't export any token transfers. #458

Open B1Q opened 9 months ago

B1Q commented 9 months ago

Log: 2023-09-07 20:46:13,274 - CompositeItemExporter [INFO] - token_transfer items exported: 0

How to reproduce: Export all from block 10311047 to 10411046 (BSC mainnet) and wait for it to find 0 token transfers in 100K blocks

What could be the issue here?

B1Q commented 9 months ago

the schema didn't match, had to go into the source code and fix it myself.

also Erigon has a problem with filters (always returning empty arrays) so I switched it with getLogs

ErSauravAdhikari commented 2 months ago

@B1Q

Can you share the changes please.