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

[rust] config tool does not create .libra/genesis directory #278

Open
n-uke opened this issue Jul 11, 2024 · 1 comment
Open

[rust] config tool does not create .libra/genesis directory #278

n-uke opened this issue Jul 11, 2024 · 1 comment
Assignees

Comments

@n-uke
Copy link

n-uke commented Jul 11, 2024

Describe the bug
Both "libra config validator-init" and "libra config fullnode-init" assume that there is an already-existent .libra/genesis folder to set up the configurations for a validator or fullnode. The folder .libra is also not created by these commands.

To Reproduce
Steps to reproduce the behavior:

  1. Install and build libra on a clean server
  2. Run commands "libra config validator-init" or "libra config fullnode-init"
  3. The terminal will output an error message describing that the directory could not be found. ("Failed to execute config tool, message: No such file or directory (os error 2)")

Expected behavior
The tool should create the directory if it doesn't already exists.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.4 LTS

Additional context
The error is thrown in "download_genesis".

@sirouk
Copy link
Contributor

sirouk commented Jul 11, 2024

Thanks Nuke!

This was my doing.

@0o-de-lally 0o-de-lally added this to Eng Jul 12, 2024
@0o-de-lally 0o-de-lally moved this to Backlog in Eng Jul 12, 2024
@0o-de-lally 0o-de-lally changed the title libra config tool does not create .libra/genesis directory [rust] config tool does not create .libra/genesis directory Jul 12, 2024
@0o-de-lally 0o-de-lally moved this from Backlog to In progress in Eng Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants