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

feat: support post-electra attestation and attester slashing events #7026

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Aug 14, 2024

Motivation

This is a backward compatible implementation to support post-electra attestation and attester slashing events. There is still ongoing discussion on the spec side if we wanna bump the whole events api to v2 or add new versioned events but until then we can just get the fork from the slot.

Description

Support post-electra attestation and attester slashing events by determining fork based on slot in data.

@nflaig nflaig requested a review from a team as a code owner August 14, 2024 11:15
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 76.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 49.37%. Comparing base (e8423d5) to head (f4ab567).
Report is 1 commits behind head on electra-fork-rebasejul30.

Additional details and impacted files
@@                    Coverage Diff                    @@
##           electra-fork-rebasejul30    #7026   +/-   ##
=========================================================
  Coverage                     49.37%   49.37%           
=========================================================
  Files                           589      589           
  Lines                         39151    39169   +18     
  Branches                       2234     2233    -1     
=========================================================
+ Hits                          19329    19340   +11     
- Misses                        19781    19788    +7     
  Partials                         41       41           

@ensi321 ensi321 merged commit 7823db3 into electra-fork-rebasejul30 Aug 15, 2024
15 of 17 checks passed
@ensi321 ensi321 deleted the nflaig/update-events branch August 15, 2024 10:36
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.22.0 🎉

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.

4 participants