Skip to content

refactor(testing): inline single-use _serialize_ssz_value#970

Merged
tcoratger merged 1 commit into
leanEthereum:mainfrom
tcoratger:audit/arch-13-inline-serialize-ssz-value
Jun 12, 2026
Merged

refactor(testing): inline single-use _serialize_ssz_value#970
tcoratger merged 1 commit into
leanEthereum:mainfrom
tcoratger:audit/arch-13-inline-serialize-ssz-value

Conversation

@tcoratger

Copy link
Copy Markdown
Collaborator

Summary

The SSZ-to-JSON conversion helper had exactly one caller, the field serializer on the emitted SSZ fixture. Per the repository preference to inline single-use helpers, its body now lives directly in the serializer.

The helper's docstring was identical to the method's existing docstring, so the method keeps that docstring, and the Boolean-before-int ordering comment moves inline with the body.

Testing

just check passes (lint, format, type check, codespell, mdformat).

🤖 Generated with Claude Code

The serializer helper had exactly one caller. Inline its body at the
field serializer; the helper docstring matched the method docstring,
so the method keeps it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tcoratger tcoratger merged commit f606db0 into leanEthereum:main Jun 12, 2026
14 checks passed
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.

1 participant