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

fix: use attestation v1 endpoints pre-electra #7024

Merged
merged 4 commits into from
Aug 17, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Aug 14, 2024

Motivation

Fix compatiblity with other clients that have not yet implemented attestation v2 endpoints.

Description

Use attestation v1 endpoints pre-electra, after fork transition, the validator client will start using v2 apis.

@nflaig nflaig requested a review from a team as a code owner August 14, 2024 10:14
@nflaig nflaig mentioned this pull request Aug 14, 2024
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (electra-fork-rebasejul30@55062cd). Learn more about missing BASE report.

Additional details and impacted files
@@                     Coverage Diff                     @@
##             electra-fork-rebasejul30    #7024   +/-   ##
===========================================================
  Coverage                            ?   49.38%           
===========================================================
  Files                               ?      589           
  Lines                               ?    39200           
  Branches                            ?     2243           
===========================================================
  Hits                                ?    19357           
  Misses                              ?    19802           
  Partials                            ?       41           

@nflaig
Copy link
Member Author

nflaig commented Aug 14, 2024

Need to merge #6998 before this as v1 attestation apis are currently not working

@nflaig nflaig marked this pull request as draft August 14, 2024 10:38
@nflaig nflaig marked this pull request as ready for review August 16, 2024 21:57
@nflaig
Copy link
Member Author

nflaig commented Aug 17, 2024

It looks like the CI is no longer able to download spec tests, might need to increase timeout

@ensi321
Copy link
Contributor

ensi321 commented Aug 17, 2024

It looks like the CI is no longer able to download spec tests, might need to increase timeout

It looks like general and mainnet are downloaded pretty quickly but minimal seems to be taking a long time. Wonder if there's any restriction/limitation in place.

@wemeetagain wemeetagain merged commit 1f75c59 into electra-fork-rebasejul30 Aug 17, 2024
15 of 17 checks passed
@wemeetagain wemeetagain deleted the nflaig/use-v1 branch August 17, 2024 17:44
g11tech pushed a commit that referenced this pull request Aug 23, 2024
* fix: use attestation v1 endpoints pre-electra

* Adapt block attestations error message with pool apis
g11tech pushed a commit that referenced this pull request Aug 27, 2024
* fix: use attestation v1 endpoints pre-electra

* Adapt block attestations error message with pool apis
philknows pushed a commit that referenced this pull request Sep 3, 2024
* fix: use attestation v1 endpoints pre-electra

* Adapt block attestations error message with pool apis
@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.

3 participants