[Ethereum] Parity Trace Issue: TraceDB resync required

evmjson-rpcnodesparity

I am trying to use the trace functionality included in the parity node (https://github.com/paritytech/parity/wiki/JSONRPC-trace-module) but I am having trouble configuring my node.

I have tried to run my parity node using

parity --tracing on --pruning archive

But I get the following issue:

TraceDB resync required

I have tried to reset my database by doing parity db kill and rerunning the first command but I get the same issue. Can anyone help me set up the TraceDB?

I am running parity through home-brew, version v1.8.2-beta

Best Answer

This is a minor annoyance, parity db kill does not reset your user defaults. Have a look at this:

 $ cat ~/.local/share/io.parity.ethereum/chains/ethereum/user_defaults 
 {"fat_db":false,"is_first_launch":false,"mode":"active","pruning":"fast","tracing":false}

Editing this file to read "tracing":true will solve your issue.

Related Topic