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

cmd: alpha test beacon #3059

Merged
merged 7 commits into from
May 8, 2024
Merged

cmd: alpha test beacon #3059

merged 7 commits into from
May 8, 2024

Conversation

KaloyanTanev
Copy link
Contributor

@KaloyanTanev KaloyanTanev commented Apr 29, 2024

Charon alpha beacon node testing. Structure is identical to what we have in peers tests, with the exception that here we do not have separation between self and external (peers). The 4 test cases can be fired against multiple beacon nodes.

To test on your own machine:

make charon && ./charon alpha test beacon --endpoints="https://ethereum-holesky-beacon-api.publicnode.com,https://ethereum-sepolia-beacon-api.publicnode.com"

Similarly to peers tests, const values used to determine whether a measured test result is average or bad are nothing more than estimates for now on my side. I am open to suggestions on that front.

category: feature
ticket: #2998

@KaloyanTanev KaloyanTanev self-assigned this Apr 29, 2024
@KaloyanTanev KaloyanTanev marked this pull request as draft April 29, 2024 17:25
Copy link

codecov bot commented Apr 29, 2024

Codecov Report

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

Project coverage is 54.95%. Comparing base (fff580a) to head (f4548e3).
Report is 12 commits behind head on main.

Files Patch % Lines
cmd/testbeacon.go 71.80% 32 Missing and 21 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3059      +/-   ##
==========================================
+ Coverage   54.63%   54.95%   +0.32%     
==========================================
  Files         207      209       +2     
  Lines       29145    29786     +641     
==========================================
+ Hits        15922    16370     +448     
- Misses      11383    11600     +217     
+ Partials     1840     1816      -24     

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

@KaloyanTanev KaloyanTanev marked this pull request as ready for review April 29, 2024 22:04
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.

Requested some changes.

cmd/testbeacon.go Outdated Show resolved Hide resolved
cmd/testbeacon.go Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented May 8, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

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

See analysis details on SonarCloud

@KaloyanTanev KaloyanTanev added the merge when ready Indicates bulldozer bot may merge when all checks pass label May 8, 2024
@obol-bulldozer obol-bulldozer bot merged commit 32d2655 into main May 8, 2024
11 of 12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the kalo/alpha-charon-test-beacon branch May 8, 2024 07:37
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.

3 participants