Octan-Labs / pipeline

1 stars 0 forks source link

Compare debug_ and trace_* #158

Closed trmaphi closed 10 months ago

trmaphi commented 1 year ago

README compare trace vs debug namespace. Chỉ nhắm đến cái method nào có thể query trace/debug theo block range

Background là hiện tại có 2 implementation của EVM là geth và erigon. Supports cho nó thì hiện tại geth có debug* và erigon có debug và trace_

Erigon đang drop support cho BSC, nên trong tương lai có thể phải switch qua debug_ cho indexer. Nên cần map data từ tracefilter method > debug mẹthod gì đó tương ứng

tuannm1006 commented 1 year ago

Methods usage:

Differences between geth and parity traces:

Both exporting geth traces and exporting parity traces are supported by indexer, but generate trace id function depend on transaction hash and transaction index. Indexer export_all is using exporting parity traces now.

References: