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

Electra epoch processing #5761

Merged
merged 162 commits into from
Jun 28, 2024
Merged

Electra epoch processing #5761

merged 162 commits into from
Jun 28, 2024

Conversation

michaelsproul
Copy link
Member

Proposed Changes

Integrate Electra epoch processing with single-pass. This required a few tricks. I hope they're correct 🤞

eserilev and others added 30 commits April 30, 2024 11:49
* update

* experiment

* superstruct changes

* revert

* superstruct changes

* fix tests

* indexed attestation

* indexed attestation superstruct

* updated TODOs
* `superstruct` Attester Fork Variants

* Push a little further

* Deal with Encode / Decode of AttesterSlashing

* not so sure about this..

* Stop Encode/Decode Bounds from Propagating Out

* Tons of Changes..

* More Conversions to AttestationRef

* Add AsReference trait (#15)

* Add AsReference trait

* Fix some snafus

* Got it Compiling! :D

* Got Tests Building

* Get beacon chain tests compiling

---------

Co-authored-by: Michael Sproul <[email protected]>
* Upgrade `superstruct` to `0.8.0`

* superstruct `AggregateAndProof`
Merge unstable into Electra attestation changes
* get attesting indices electra impl

* fmt

* get tests to pass

* fmt

* fix some beacon chain tests

* fmt

* fix slasher test

* fmt got me again

* fix more tests

* fix tests
* fix get attesting indices

* better errors

* fix compile

* only get committee index once
* attestation related ef test fixes

* delete commented out stuff
Base automatically changed from block-processing-electra to unstable June 26, 2024 13:29
@realbigsean realbigsean removed the skip-ci Don't run the `test-suite` label Jun 26, 2024
@realbigsean
Copy link
Member

Just had some of my new favorite PR comments -> ForkName::electra_enabled

This looks good to me an outstanding question is whether we want to optimize this again? #5761 (comment)

@realbigsean
Copy link
Member

This looks good to me an outstanding question is whether we want to optimize this again? #5761 (comment)

We can come back and optimize this if we think it's necessary

@realbigsean
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jun 28, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 16b8113

mergify bot added a commit that referenced this pull request Jun 28, 2024
@mergify mergify bot merged commit 16b8113 into unstable Jun 28, 2024
28 checks passed
@mergify mergify bot deleted the electra-epoch-proc branch June 28, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electra Required for the Electra/Prague fork ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants