Skip to content

refactor(ssz): rename single-letter offset loop variable#1083

Merged
tcoratger merged 2 commits into
leanEthereum:mainfrom
tcoratger:audit/spec-ssz-naming-06
Jun 15, 2026
Merged

refactor(ssz): rename single-letter offset loop variable#1083
tcoratger merged 2 commits into
leanEthereum:mainfrom
tcoratger:audit/spec-ssz-naming-06

Conversation

@tcoratger

Copy link
Copy Markdown
Collaborator

The container deserializer built its offset boundary list with a single-letter comprehension variable o, obscuring what the value held (SSZ-NAMING-06).
Rename it to offset, matching the offset field of the tuples it iterates over; no behavior change.
Verified with just check (ruff lint, ruff format, ty, codespell, mdformat) — all checks passed.

🤖 Generated with Claude Code

tcoratger and others added 2 commits June 15, 2026 16:31
The container deserializer built the offset boundary list with a
single-letter comprehension variable o, which obscured what the
value held. Rename it to offset to match the tuple field it reads.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tcoratger tcoratger merged commit aaafd1f into leanEthereum:main Jun 15, 2026
13 of 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