Skip to content

Conversation

@Fibonacci747
Copy link
Contributor

Replace the SSZ-style List[Hash32, DEPOSIT_CONTRACT_DEPTH] notation with valid Python typing List[Hash32] in both the EIP’s reference implementation and the Python reference code to align with Python’s typing.List which only accepts an element type parameter. The original form is SSZ syntax expressing a variable-length list with a maximum bound and is not understood by Python type checkers, leading to false-positive diagnostics and confusing IDE hints. The semantic constraint on maximum length remains enforced by the surrounding logic and tests that rely on DEPOSIT_CONTRACT_DEPTH; moving to List[Hash32] improves static analysis compatibility and readability without changing behavior.

@github-actions github-actions bot added c-update Modifies an existing proposal s-final This EIP is Final t-interface labels Nov 21, 2025
@eth-bot
Copy link
Collaborator

eth-bot commented Nov 21, 2025

File EIPS/eip-4881.md

Requires 1 more reviewers from @ethDreamer
Requires 2 more reviewers from @g11tech, @lightclient, @SamWilsn, @xinbenlv

@eth-bot eth-bot added the e-consensus Waiting on editor consensus label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-update Modifies an existing proposal e-consensus Waiting on editor consensus s-final This EIP is Final t-interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants