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

Removing the validator key and then sending SIGHUP to the neard process does not appear to stop it validating #11995

Closed
Pete-LunaNova opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@Pete-LunaNova
Copy link

Describe the bug
Removing the validator key from the active validator node and then sending a SIGHUP signal to the process produces log output showing the config file being reloaded and that no validator key is found. However, the node appears to continue as a validator with the text "Validator |" on every stats line that lists the number of validators.

To Reproduce
Remove the validator key file on a running active validator node and send a SIGHUP signal to the neard process

Expected behavior
I would expect the node to stop validating when it has detected that no validator key is present after it receives a SIGHUP signal and that there should not be the text "Validator |" on every stats line in the logs.

Version:

  • nearcore 2.1.0-rc.1
  • rust version 1.77
  • testnet
github-merge-queue bot pushed a commit that referenced this issue Aug 28, 2024
Issue: #11995

Adds support to dynamically remove validator key.
@staffik staffik closed this as completed Sep 3, 2024
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

2 participants