Skip to content

Comments

Consolidation target#644

Open
cyc60 wants to merge 21 commits intomasterfrom
consolidation-target
Open

Consolidation target#644
cyc60 wants to merge 21 commits intomasterfrom
consolidation-target

Conversation

@cyc60
Copy link
Contributor

@cyc60 cyc60 commented Jan 27, 2026

No description provided.

cyc60 added 3 commits January 27, 2026 20:16
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings January 27, 2026 17:36
Copy link
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 PR adds support for specifying a target validator when consolidating validators. The consolidation logic now accepts an optional target_public_key parameter, allowing users to designate a specific validator as the consolidation target rather than automatically selecting one.

Changes:

  • Added target_public_key parameter to the consolidation flow with validation logic
  • Bumped version from v4.1.4 to v4.1.5 across documentation and configuration files

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/commands/consolidate.py Added target_public_key parameter and validation logic for target validator selection
scripts/install.sh Updated default version to v4.1.5
pyproject.toml Updated package version to v4.1.5
README.md Updated docker image version references to v4.1.5

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

Signed-off-by: cyc60 <avsysoev60@gmail.com>
cyc60 added 5 commits January 29, 2026 18:46
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings February 2, 2026 12:59
Copy link
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 7 out of 8 changed files in this pull request and generated 5 comments.


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

cyc60 added 7 commits February 2, 2026 16:57
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>

# Conflicts:
#	README.md
#	pyproject.toml
#	scripts/install.sh
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings February 11, 2026 14:19
Copy link
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 5 out of 5 changed files in this pull request and generated 7 comments.


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

Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings February 12, 2026 07:43
Copy link
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 5 out of 5 changed files in this pull request and generated 2 comments.


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

Copilot AI review requested due to automatic review settings February 17, 2026 18:26
Copy link
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 5 out of 5 changed files in this pull request and generated 2 comments.


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

# Validate the source validator has been active long enough
if source_validator.activation_epoch > self.max_activation_epoch:
raise ConsolidationError(
f'Validator {source_validator.public_key}'
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Missing space after the public_key value in the error message. The line should have a space before "is not active enough" to maintain consistent formatting with other multi-line error messages in this file.

Copilot uses AI. Check for mistakes.
else:
if not target_validator.is_compounding:
raise ConsolidationError(
f'The target validator {self.target_public_key}'
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Missing space after the target_public_key value in the error message. The line should have a space before "is not a compounding validator" to maintain consistent formatting with other multi-line error messages in this file.

Copilot uses AI. Check for mistakes.
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.

2 participants