Skip to content

Commit 72422c4

Browse files
tcoratgerclaude
andcommitted
docs(testing): use bullets for the aggregation_bits field docstring
Per the doc-writer rules, render the field's three behaviors as bullet points instead of prose, and fix the summary line so it describes the default (derived) case rather than only the verbatim override. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent aad06c9 commit 72422c4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/testing/src/consensus_testing/test_types/attestation_specs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ class AggregatedAttestationSpec(AttestationSpec):
161161

162162
aggregation_bits: AggregationBits | None = None
163163
"""
164-
Raw aggregation bits placed into the block body verbatim.
164+
Raw aggregation bits for the block body, overriding index derivation.
165165
166-
When unset, bits are derived from the validator indices.
167-
Only the state transition forced-attestation path honors an override.
168-
Signed paths always derive bits from the validator indices.
166+
- When unset, bits are derived from the validator indices.
167+
- When set, the bits are used verbatim, even when zero-length or padded.
168+
- Only the unsigned forced-attestation path honors the override.
169169
"""
170170

171171
def resolve_aggregation_bits(self) -> AggregationBits:

0 commit comments

Comments
 (0)