Skip to content

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

Closed
wemeetagain wants to merge 28 commits into
ethereum:masterfrom
wemeetagain:eip-7495
Closed

EIP 7495: Add ssz generic tests for StableContainer and Profile#3777
wemeetagain wants to merge 28 commits into
ethereum:masterfrom
wemeetagain:eip-7495

Conversation

@wemeetagain

@wemeetagain wemeetagain commented May 23, 2024

Copy link
Copy Markdown
Contributor

EIP-7495 defines two new SSZ types: StableContainer and Profile.
Functionality from this EIP is required in several EIPs currently under consideration:

This PR adds both StableContainer and Profile to the ssz_generic spec test generators.

Output of make gen_ssz_generic: ssz_generic_7495.tar.gz

Notes/TODOs:

  • Only added valid test cases for both StableContainer and Profile. Adding invalid cases may require tweaking some generator helpers for these types.
  • Only added tests for Profile objects without optional fields. This is sufficient to test all functionality required for EIP-7688 - Forward Compatible Consensus Data Structures, but not sufficient to test all functionality required for EIP-6493 - SSZ Transaction Signature Scheme. More test cases should be added to cover this.

etan-status added a commit to status-im/nimbus-eth2 that referenced this pull request May 24, 2024
Implement test runner for new consensus-spec tests:

- ethereum/consensus-specs#3777
@hwwhww hwwhww added general:enhancement ssz Simple Serialize labels May 28, 2024
@etan-status

etan-status commented Jun 10, 2025

Copy link
Copy Markdown
Contributor

Output of make -j reftests runner=ssz_generic:

@jtraglia

Copy link
Copy Markdown
Member

Output of make -j reftests runner=ssz_generic:

Just want to note that the -j isn't required for multi-threaded test generation 😄

@jtraglia jtraglia changed the base branch from dev to master July 9, 2025 22:00
@etan-status etan-status deleted the eip-7495 branch October 2, 2025 10:08
@etan-status

Copy link
Copy Markdown
Contributor

This one is superseded by #4529 and can be closed.

@jtraglia

jtraglia commented Oct 2, 2025

Copy link
Copy Markdown
Member

Thanks @etan-status. Will close it now.

@jtraglia jtraglia closed this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ssz Simple Serialize

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants