Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config sample file? #1

Open
peak3d opened this issue Jan 1, 2021 · 2 comments
Open

config sample file? #1

peak3d opened this issue Jan 1, 2021 · 2 comments

Comments

@peak3d
Copy link
Contributor

peak3d commented Jan 1, 2021

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

@ruvlol
Copy link

ruvlol commented Mar 19, 2021

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).

@zakrian07
Copy link

Hello,
I'm facing the same issue but unable to figure out and fix the issue
please see the log and settings.
setting3
log-2
settings_1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@zakrian07 @peak3d @ruvlol and others