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.92k stars 835 forks source link

Question About Parity & Traces #226

Open io-raid opened 3 years ago

io-raid commented 3 years ago

Hi, I had a couple of questions regarding the required Parity setup for eth-etl.

To export all data from the eth chain with eth-etl (blocks & txs, receipts and logs, token transfers, contracts, and traces), what sort of config is needed for the Parity node?

My assumption is that we would need --pruning archive and --tracing on flags for the node, is this correct?

Also, does eth-etl only work with Parity if I want to get all data (including full traces data)? Wouldn't this be a problem since Parity has now shifted to OpenEthereum - does eth-etl also work with OpenEthereum?

io-raid commented 3 years ago

@medvedev1088 could you please provide some insight into this? Also wondering if it is possible to use eth-etl with OpenEthereum 3.1.0. Thank you 🙂

medvedev1088 commented 3 years ago

@io-raid we use parity/parity:v2.7.2-stable, I believe it will work with open ethereum too.

The config we use is --pruning auto and --tracing on

io-raid commented 3 years ago

Ah I see thank you! And I imagine --pruning auto would default to fast in your case?

medvedev1088 commented 3 years ago

Ah I see thank you! And I imagine --pruning auto would default to fast in your case?

correct it's --pruning fast actually