Closed
Description
The scope of this task:
- Design the model for geth traces (trace.py can be used as a basis).
- Implement the export and extract jobs.
2.a The export job should use traceBlockByNumber (cmd, core, eth/tracers: support fancier js tracing ethereum/go-ethereum#15516) and output raw JSON responses. It should use callTracer, an example JS API call:debug.traceBlockByNumber('0x250252', {'tracer': 'callTracer'})
; the same is available via JSON RPC. The job should useBatchWeb3Provider
similar to export_blocks_job.py.
2.b The extract job should take the file with raw JSON responses, parses them, map to our domain entity and output to CSV file. - Write unit tests (real mainnet responses should be used in test cases, so the same tests can be run against geth node).
- Add documentation to README (an example can be found here). Include instructions for how to start geth i.e. what options to use (e.g.
geth --gcmode archive
)
=======================
Notes:
- Parity traces are already supported implementation of internal transaction exporter #104.
Metadata
Metadata
Assignees
Labels
No labels