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

Preserve pre-existing vote/stake keypairs for bootstrap validator #19405

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

CriesofCarrots
Copy link
Contributor

@CriesofCarrots CriesofCarrots commented Aug 24, 2021

Problem

When rebooting a test cluster from a snapshot, the validators need to use the same vote accounts, and it is possible to provide these static keypairs via a /keypairs directory. This works well for non-bootstrap validators, but remote-node.sh creates a new vote account for the bootstrap-validator on every run, causing that node's stake to be always delinquent.

Summary of Changes

Add handling to look for bootstrap stake- and vote-account keypairs in /keypairs

@CriesofCarrots CriesofCarrots added v1.7 automerge Merge this Pull Request automatically once CI passes labels Aug 24, 2021
@mergify mergify bot merged commit d559426 into solana-labs:master Aug 24, 2021
mergify bot pushed a commit that referenced this pull request Aug 24, 2021
mergify bot added a commit that referenced this pull request Aug 24, 2021
…9405) (#19410)

(cherry picked from commit d559426)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
@CriesofCarrots CriesofCarrots deleted the net-bv-keypairs branch August 25, 2021 20:59
AshwinSekar added a commit to AshwinSekar/solana that referenced this pull request Nov 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant