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

app/eth2wrap: sign domain for VOLUNTARY_EXIT #3035

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented Apr 11, 2024

Instead of returning the latest Domain available when the DomainName requested is VOLUNTARY_EXIT, returns the Capella one as detailed in EIP-7044.

Doing so fixes both exit commands generating wrong signatures and voluntary exits sent over the VC.

category: bug
ticket: #2981

Closes #2981.

Instead of returning the latest Domain available when the DomainName requested is VOLUNTARY_EXIT, returns the Capella one as detailed in EIP-7044.

Doing so fixes both `exit` commands generating wrong signatures and voluntary exits sent over the VC.
Copy link

sonarcloud bot commented Apr 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

Attention: Patch coverage is 57.29167% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 54.75%. Comparing base (79e2b27) to head (940523e).
Report is 1 commits behind head on main.

Files Patch % Lines
eth2util/helper_capella.go 75.34% 14 Missing and 4 partials ⚠️
app/eth2wrap/httpwrap.go 0.00% 10 Missing ⚠️
app/eth2wrap/lazy.go 0.00% 6 Missing ⚠️
app/eth2wrap/eth2wrap.go 0.00% 4 Missing ⚠️
app/app.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3035      +/-   ##
==========================================
- Coverage   54.80%   54.75%   -0.06%     
==========================================
  Files         206      207       +1     
  Lines       28837    28932      +95     
==========================================
+ Hits        15805    15842      +37     
- Misses      11213    11269      +56     
- Partials     1819     1821       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@pinebit pinebit left a comment

Choose a reason for hiding this comment

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

It may be hard to merge this with the v3 endpoint branch...

@gsora
Copy link
Collaborator Author

gsora commented Apr 12, 2024

@pinebit why do you think that? Do you believe we should hold off this PR until V3 is merged?

@gsora gsora changed the title app/eth2wrap: Domain for VOLUNTARY_EXIT app/eth2wrap: sign domain for VOLUNTARY_EXIT Apr 12, 2024
@pinebit
Copy link
Contributor

pinebit commented Apr 12, 2024

@pinebit why do you think that? Do you believe we should hold off this PR until V3 is merged?

@gsora no worries, I will handle the merge.

@gsora
Copy link
Collaborator Author

gsora commented Apr 12, 2024

Okay then, merging!

@gsora gsora added the merge when ready Indicates bulldozer bot may merge when all checks pass label Apr 12, 2024
@obol-bulldozer obol-bulldozer bot merged commit cc3c003 into main Apr 12, 2024
12 of 14 checks passed
@obol-bulldozer obol-bulldozer bot deleted the gsora/capella-voluntary-exits branch April 12, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure Exit Message are compliant with EIP-7044
2 participants