Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Importing validator accounts to nimbus doesn't work #304

Open
stefa2k opened this issue May 28, 2022 · 1 comment · Fixed by #305
Open

Importing validator accounts to nimbus doesn't work #304

stefa2k opened this issue May 28, 2022 · 1 comment · Fixed by #305
Assignees
Labels
bug Something isn't working

Comments

@stefa2k
Copy link
Member

stefa2k commented May 28, 2022

Reported on our Discord:

I have issues with importing validator keys. Nimbus/mainnet/Ubuntu 20.04.

GUI show everything is ok, except after successful import the validator list is empty.

I've put validator keys into /opt/stereum/ethereum2-docker-compose/launchpad/ and I've tried to execute playbook manually:

# ansible-playbook import-validator-accounts.yaml -e validator_keys_path=/opt/stereum/ethereum2-docker-compose/launchpad/ -e validator_password=INCORRECT_PASSWORD

No matter if password is correct or not, playbook finishes succesfully. Do you have any advice?

Oh, I can see the output from import script:

"stdout_lines": [
            "spawn sh -c  sudo docker exec -it stereum_beacon_1 /opt/app/build/nimbus_beacon_node deposits import \"/opt/app/validator_keys\" --data-dir=\"/opt/app/validator\" --network=\"mainnet\" ",
            "Error while processing the \u001b[34mimportedDepositsDir=/opt/app/validator_keys\u001b[0m parameter: Directory doesn't exist\u001b[0m",
            "Try \u001b[36mnimbus_beacon_node --help\u001b[0m for more information."
        ]

So there is no /opt/app/validator_keys directory inside docker container. When this directory should be created and by which script/playbook?

I copied validator keys into docker container, to /tmp directory. Then I run:

docker exec -it stereum_beacon_1 /opt/app/build/nimbus_beacon_node deposits import /tmp --data-dir=/opt/app/validator --network=mainnet

This time I was asked for password and typing incorrect one generated password invalid message.
After typing correct password everything went fine. I've restarted docker container and I still can't see any validator activity 😦

NOT 2022-05-25 20:11:31.815+00:00 Starting beacon node topics="beacnde" version=v22.3.0-13b264-stateofus ... SLOTS_PER_EPOCH=32 SECONDS_PER_SLOT=12 SPEC_VERSION=1.1.10 dataDir=/opt/app/beacon validators=0
@stefa2k stefa2k added the bug Something isn't working label May 28, 2022
@gbayasgalan
Copy link
Contributor

I'll have a look

@stefa2k stefa2k linked a pull request Jun 1, 2022 that will close this issue
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants