config sample file?
Is it possible to add a sample config file? Or a dumpconfig command line arg?
I have a local lachesis node running, but I'm unable to get the api running:
App Version: undefined
Commit Hash: undefined
Commit Time: undefined
Build Time: undefined
Build By: undefined
NOTICE cache/New: memory cache initialized
NOTICE db/New: database connection established
NOTICE db/checkAccountCollectionState: accounts collection empty
NOTICE db/checkTransactionCollectionState: transactions collection empty
NOTICE db/checkContractCollectionState: contracts collection empty
NOTICE db/checkUniswapCollectionState: swaps collection empty
CRITICAL rpc/New: dial unix: missing address
CRITICAL repository/connect: can not connect Lachesis RPC interface, dial unix: missing address
CRITICAL repository/New: repository init failed
2021/01/01 15:30:16 dial unix: missing address
The path to ipc file should be OK
hey. I found out that as an example file you can use /doc/example.config.json. Use -cfg flag to specify it's destination.
besides I had another issue with the same output and it was due to node.url property which contained following path to ipc: ~/.lachesis/fakenet-1/lachesis.ipc . I solved it via specifying the exact same complete path that was printed at lachesis launch (IPC endpoint opened url=/root/.lachesis/fakenet-1/lachesis.ipc line in debug).
Hello,
I'm facing the same issue but unable to figure out and fix the issue
please see the log and settings.
