Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP 7495: Add ssz generic tests for StableContainer and Profile #3777

Open
wants to merge 21 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
List syntax instead of tuple for consistency
etan-status committed Jun 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c5b236a9aa64e6fef5336e45d8dc9e1d56eaf6b3
2 changes: 1 addition & 1 deletion tests/core/pyspec/eth2spec/debug/decode.py
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ def decode(data: Any, typ):
return ret
elif issubclass(typ, Profile):
temp = {}
for field_name, (field_type, is_optional) in typ.fields().items():
for field_name, [field_type, is_optional] in typ.fields().items():
if data[field_name] is None:
assert is_optional
temp[field_name] = None