midnightntwrk / midnightntwrk/midnight-node-docker

Keys are "not found"

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
34
Forks
21
PR merge metrics
No merged PRs in 30d

Description

There seems to be an issue related to the keys required to run the node as a validator, which I couldn’t find any explanation for in the documentation.

In step 4 (Docs), the only configuration mentioned is to copy the keys to the data folder that will be mounted with the midnight-node container.
https://docs.midnight.network/validate/run-a-validator/step-4

The workaround I found was to copy the keys from the mounted folder to another directory inside the container:

cp data/chains/partner_chains_template/keystore/* node/chain/chains/testnet-02/keystore/

I’m not sure if you’ve noticed this, but it seems that other people have reported the same issue as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the validator setup instructions at the linked documentation page, especially step 4, and compare the mounted data/chains/partner_chains_template/keystore path with the container's node/chain/chains/testnet-02/keystore path. Confirm the expected key location and document or correct the setup so validator keys are found without the reported manual copy.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.