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

cmd/combine: fix multiple runs #2963

Merged
merged 2 commits into from
Mar 15, 2024
Merged

cmd/combine: fix multiple runs #2963

merged 2 commits into from
Mar 15, 2024

Commits on Mar 14, 2024

  1. cmd/combine: fix multiple runs

    Instead of checking if `validator_keys` directory exists at the end of the load manifest loop, do it earlier and exclude potential non-Charon node directories.
    
    Also make so that `--force` deletes the existing keys, if any.
    
    Solves the use case in which the user called `combine` command twice with an input directory that was also used as an output directory.
    gsora committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    047b9cf View commit details
    Browse the repository at this point in the history
  2. add test

    gsora committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    ce7a854 View commit details
    Browse the repository at this point in the history