Skip to content

feat: drop eth1 data and deposits from Heze containers (EIP-8015) - #64

Merged
barnabasbusa merged 3 commits into
masterfrom
bbusa/heze-eip8015
Oct 9, 2026
Merged

barnabasbusa merged 3 commits into
masterfrom
bbusa/heze-eip8015

Conversation

@barnabasbusa

Copy link
Copy Markdown
Contributor

EIP-6110 moved validator deposits to the execution layer, and once the transition completes (eth1_deposit_index == deposit_requests_start_index) the legacy deposit fields are permanently unused; EIP-8015, added to Heze in consensus-specs v1.7.0-beta.4, removes them. This drops eth1_data and deposits from the Heze BeaconBlockBody (progressive container gaps 1 and 6) and eth1_data, eth1_data_votes, eth1_deposit_index and deposit_requests_start_index from the Heze BeaconState (gaps 8, 9, 10 and 28), regenerates the SSZ code for spec/heze and spec/all, updates the JSON/YAML encodings, and makes the versioned ETH1Data(), Deposits() and DepositRequestsStartIndex() getters return an error for Heze.

🤖 Generated with Claude Code

Remove eth1_data and deposits from the Heze BeaconBlockBody and eth1_data,
eth1_data_votes, eth1_deposit_index and deposit_requests_start_index from
the Heze BeaconState, matching consensus-specs v1.7.0-beta.4.
@redpandabot

This comment has been minimized.

Co-Authored-By: Claude <noreply@anthropic.com>
@barnabasbusa

Copy link
Copy Markdown
Contributor Author

Also fixes Heze execution_payload_availability JSON/YAML encoding (was a list of decimal strings, now hex like Gloas); the mainnet Heze BeaconState ssz_static vectors failed to decode without it.

@redpandabot redpandabot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The PR implements EIP-8015 for Heze by dropping eth1_data/deposits from BeaconBlockBody and the eth1/deposit-index fields from BeaconState, regenerating SSZ for spec/heze and spec/all, updating JSON/YAML, and making the versioned ETH1Data/Deposits/DepositRequestsStartIndex getters error for Heze. The follow-up commit aligns Heze execution_payload_availability JSON encoding with Gloas. I traced the progressive-container gaps, the generated inactive-field placeholders and active-fields bitvectors, and the JSON/YAML/versioned paths and found no in-scope defects.


Reviewed 16 changed file(s) @ c596ad60 — no blocking issues found.
"In theory, there is no difference between theory and practice. In practice, there is." — attributed to Yogi Berra

Co-Authored-By: Claude <noreply@anthropic.com>
@barnabasbusa
barnabasbusa merged commit aa18b63 into master Oct 9, 2026
3 checks passed
@barnabasbusa
barnabasbusa deleted the bbusa/heze-eip8015 branch October 9, 2026 11:49
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