Skip to content

fix: skip custody groups computation if all groups are custodied#8172

Merged
nflaig merged 1 commit into
peerDASfrom
nflaig/skip-computation
Aug 11, 2025
Merged

fix: skip custody groups computation if all groups are custodied#8172
nflaig merged 1 commit into
peerDASfrom
nflaig/skip-computation

Conversation

@nflaig

@nflaig nflaig commented Aug 10, 2025

Copy link
Copy Markdown
Member

Motivation

Slight optimization from ethereum/consensus-specs#4459 to skip custody groups computation if we custody all groups.

Description

  • throw error (instead of hidding a bug) if custodyGroupCount > NUMBER_OF_CUSTODY_GROUPS
  • skip computation if all groups are custodied

@nflaig nflaig requested a review from a team as a code owner August 10, 2025 11:57
@nflaig nflaig merged commit bf3740f into peerDAS Aug 11, 2025
12 of 18 checks passed
@nflaig nflaig deleted the nflaig/skip-computation branch August 11, 2025 08:46
@wemeetagain

Copy link
Copy Markdown
Member

🎉 This PR is included in v1.34.0 🎉

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