Skip to content

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

Merged
ensi321 merged 1 commit into
electra-fork-rebasejul30from
nflaig/update-events
Aug 15, 2024
Merged

feat: support post-electra attestation and attester slashing events#7026
ensi321 merged 1 commit into
electra-fork-rebasejul30from
nflaig/update-events

Conversation

@nflaig

@nflaig nflaig commented Aug 14, 2024

Copy link
Copy Markdown
Member

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
@codecov

codecov Bot commented Aug 14, 2024

Copy link
Copy Markdown

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           

@wemeetagain

Copy link
Copy Markdown
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