Skip to content

Add ProgressiveVariableList - #84

Merged
michaelsproul merged 4 commits into
mainfrom
progressive
Sep 16, 2026
Merged

michaelsproul merged 4 commits into
mainfrom
progressive

Conversation

@macladson

Copy link
Copy Markdown
Member

Description

Add support for EIP-7916's ProgressiveList.

@codecov

codecov Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 56.33803% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.37%. Comparing base (9d3aef1) to head (5a49a81).

Files with missing lines Patch % Lines
src/progressive_variable_list.rs 48.83% 44 Missing ⚠️
src/serde_utils/prog_list_of_hex_fixed_vec.rs 0.00% 11 Missing ⚠️
src/lib.rs 50.00% 3 Missing ⚠️
src/context_deserialize.rs 0.00% 2 Missing ⚠️
src/serde_utils/prog_list_of_hex_prog_var_list.rs 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   51.21%   53.37%   +2.15%     
==========================================
  Files          14       18       +4     
  Lines         492      622     +130     
==========================================
+ Hits          252      332      +80     
- Misses        240      290      +50     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +21 to +23
/// Known spec divergence: encoding does not enforce the SSZ requirement that the total
/// encoding be less than 2^32 bytes. Callers must ensure this limit is respected.
/// Decoding rejects encodings at or above this limit.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened an issue for this so we can discuss in the context of limiting progressive list sizes:

@michaelsproul michaelsproul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, v clean

@michaelsproul
michaelsproul merged commit 3110fa0 into main Sep 16, 2026
9 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.

2 participants