Closed YuXiaoCoder closed 10 months ago
@YuXiaoCoder
Please add --debug-api=true
and make sure --pruning=nothing
when start your node. Then have a try.
@giskook That's fine. Thank you. To help those who come after me, here's an example of my command:
/opt/oktmain/core/exchaind start --node-mode=archive --chain-id=exchain-66 --home=/mnt/oktmain/node --rest.laddr=tcp://0.0.0.0:26659 --mempool.sort_tx_by_gp --rocksdb.opts max_open_files=1024 --debug-api=true --pruning=nothing --fast-query=false
How can I use the debug_traceBlockByNumber or debug_traceTransaction interfaces similar to GETH RPC?