Skip to content

Dedup (un)marshal methods in validator/client/iface/validator_client.go - #17340

Open
syjn99 wants to merge 1 commit into
developfrom
chore/dedup-marshal
Open

Dedup (un)marshal methods in validator/client/iface/validator_client.go#17340
syjn99 wants to merge 1 commit into
developfrom
chore/dedup-marshal

Conversation

@syjn99

@syjn99 syjn99 commented Aug 12, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

Other

What does this PR do? Why is it needed?

Cleaning up - we don't need custom marshal methods. BeaconCommitteeSelection and SyncCommitteeSelection are used only in wire that uses JSON.

Which issue(s) does this PR fix?

N/A

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have included a uniquely named changelog fragment file.
  • I have added a description with sufficient context for reviewers to understand this PR.
  • I have tested that my changes work as expected and I added a testing plan to the PR description (if applicable).

ValidatorIndex string `json:"validator_index"`
}

func (b *BeaconCommitteeSelection) MarshalJSON() ([]byte, error) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we have any test to prove this?

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