Skip to content

Conversation

@AshwinSekar
Copy link
Contributor

@AshwinSekar AshwinSekar commented Oct 30, 2025

Agave exposes a --require-tower argument for both startup and set-identity that enforces the tower file is present before allowing startup. If this argument is not present we populate a default Tower. We then have logic to pull the latest Tower from the VoteAccount. While not perfect this gives us some resilience against operator error resulting in slashable votes.

In Alpenglow we no longer have the backup option of pulling the VoteHistory from a VoteAccount. This method is imperfect anyway. Instead always require that a VoteHistory file is present on startup or when calling set-identity.

To accomodate for first time startups or set-identity to an unstaked identity (where voting won't happen anyway), plug in a --do-not-require-vote-history cli flag which creates a default VoteHistory. This essentially matches the --require-tower workflow with the opposite default.

Sister PR to update invalidator https://github.com/anza-xyz/infra-invalidator/pull/192

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

Successfully merging this pull request may close these issues.

1 participant