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

eth2wrap: fix synthetic block proposals #2693

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Conversation

xenowits
Copy link
Contributor

@xenowits xenowits commented Nov 9, 2023

Continue looking for signed beacon blocks if a block for a given slot is not found when proposing synthetic blocks.

This solves recurrent logs when synthetic block proposal feature is switched on:

{"code":404,"message":"NOT_FOUND: beacon block at slot 6916888","stacktraces":[]}

category: bug
ticket: #2695

@xenowits xenowits self-assigned this Nov 9, 2023
@xenowits xenowits changed the title continue if signed beacon block not found eth2wrap: fix synthetic block proposals Nov 9, 2023
return nil, err
} else if signed == nil { // go-eth2-client returns nil if proposal is not found.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not true anymore, ie, go-eth2-client no longer returns nil, nil

@xenowits xenowits requested review from dB2510 and gsora November 9, 2023 07:50
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7fad1b7) 53.18% compared to head (44c0633) 53.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2693      +/-   ##
==========================================
+ Coverage   53.18%   53.29%   +0.10%     
==========================================
  Files         201      201              
  Lines       27576    27577       +1     
==========================================
+ Hits        14666    14696      +30     
+ Misses      11093    11065      -28     
+ Partials     1817     1816       -1     
Files Coverage Δ
app/eth2wrap/synthproposer.go 62.93% <25.00%> (-0.19%) ⬇️

... and 7 files with indirect coverage changes

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

@xenowits
Copy link
Contributor Author

xenowits commented Nov 9, 2023

Screenshot 2023-11-09 at 13 24 32

Copy link

sonarcloud bot commented Nov 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@xenowits xenowits added the merge when ready Indicates bulldozer bot may merge when all checks pass label Nov 9, 2023
@obol-bulldozer obol-bulldozer bot merged commit ffe2704 into main Nov 9, 2023
14 of 15 checks passed
@obol-bulldozer obol-bulldozer bot deleted the xenowits/fix-404 branch November 9, 2023 09:36
xenowits added a commit that referenced this pull request Nov 9, 2023
Continue looking for signed beacon blocks if a block for a given slot is not found when proposing synthetic blocks.

This solves recurrent logs when synthetic block proposal feature is switched on:
```
{"code":404,"message":"NOT_FOUND: beacon block at slot 6916888","stacktraces":[]}
```

category: bug 
ticket: none
@xenowits xenowits mentioned this pull request Nov 9, 2023
obol-bulldozer bot pushed a commit that referenced this pull request Nov 9, 2023
CHERRY-PICKED PRs

* Update timeout for publishing lock to 30s: #2685
* Fix synthetic proposal errors when a block for a slot is not found: #2693
* Bump go version to 1.21.4 to fix govulncheck builds: #2694

category: bug 
ticket: none
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.

2 participants