Skip to content

Darren/refactor/staker private structs#1506

Closed
darrenkel wants to merge 7 commits intorelease/v2.4.1-lastfrom
darren/refactor/staker-private-structs
Closed

Darren/refactor/staker private structs#1506
darrenkel wants to merge 7 commits intorelease/v2.4.1-lastfrom
darren/refactor/staker-private-structs

Conversation

@darrenkel
Copy link
Copy Markdown
Contributor

Description

Refactor Validation, Delegation and Aggregation structs to use a private body. This makes the struct read only in other packages. It follows the same pattern as tx.Transaction

Validator Changes: release/v2.4.1...e41ddb8

Delegator Changes: b411ce5

Aggregation Changes: b17655e

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • New and existing E2E tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have not added any vulnerable dependencies to my code

@darrenkel darrenkel requested a review from a team as a code owner November 28, 2025 09:20
@darrenkel darrenkel changed the base branch from release/v2.4.1-old to release/v2.4.1 January 5, 2026 09:22
@darrenkel darrenkel closed this Jan 14, 2026
@darrenkel darrenkel deleted the darren/refactor/staker-private-structs branch January 14, 2026 16:02
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