Skip to content

Add validators manager checks for relayer#671

Merged
evgeny-stakewise merged 3 commits intomasterfrom
fix-validators-manager-checks
Feb 27, 2026
Merged

Add validators manager checks for relayer#671
evgeny-stakewise merged 3 commits intomasterfrom
fix-validators-manager-checks

Conversation

@evgeny-stakewise
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 20:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds validators manager validation for relayer configurations and consolidates the validation logic into a centralized function. Previously, the validators manager check only ran in AUTO registration mode and was duplicated in the consolidate command. The new implementation extends the validation to also work with relayer endpoints by checking that the relayer's configured validators manager matches the vault's validators manager.

Changes:

  • Extended check_validators_manager() to validate relayer validators manager against vault validators manager when a relayer endpoint is configured
  • Removed duplicate validators manager validation from consolidate command and replaced it with the centralized function
  • Removed the ValidatorsRegistrationMode.AUTO restriction so validation runs for all registration modes

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/common/startup_check.py Extended check_validators_manager() to add relayer validators manager validation and removed AUTO mode restriction
src/commands/consolidate.py Removed duplicate _check_validators_manager() function and replaced with call to centralized function; removed unused imports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cyc60
cyc60 previously approved these changes Feb 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@evgeny-stakewise evgeny-stakewise merged commit 142b75e into master Feb 27, 2026
12 checks passed
@evgeny-stakewise evgeny-stakewise deleted the fix-validators-manager-checks branch February 27, 2026 09:15
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.

3 participants