Skip to content

Conversation

wemeetagain
Copy link
Contributor

@wemeetagain wemeetagain commented May 23, 2024

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 enhancement New feature or request ssz Simple Serialize labels May 28, 2024
@etan-status
Copy link
Contributor

etan-status commented Jun 10, 2025

Output of make -j reftests runner=ssz_generic:

@jtraglia
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ssz Simple Serialize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants