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

eth2util/signing: add constant genesis domain test #2174

Merged
merged 1 commit into from
May 11, 2023

Conversation

corverroos
Copy link
Contributor

Simple unit test demonstrating that DomainApplicationBuilder uses genesis fork version domain.

category: test
ticket: none

@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.09 🎉

Comparison is base (7903454) 53.45% compared to head (44cb362) 53.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2174      +/-   ##
==========================================
+ Coverage   53.45%   53.54%   +0.09%     
==========================================
  Files         174      174              
  Lines       22987    23085      +98     
==========================================
+ Hits        12287    12361      +74     
- Misses       9232     9250      +18     
- Partials     1468     1474       +6     
Impacted Files Coverage Δ
testutil/beaconmock/beaconmock.go 54.76% <100.00%> (+0.72%) ⬆️
testutil/beaconmock/options.go 36.38% <100.00%> (+0.48%) ⬆️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

}

// Assert genesis domain is used for any fork schedule.
expect := eth2p0.Domain{
Copy link
Contributor

Choose a reason for hiding this comment

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

how did we get this domain value?

Copy link
Contributor Author

@corverroos corverroos May 11, 2023

Choose a reason for hiding this comment

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

I just ran the test, the point is not the value itself, but that is doesn't change

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label May 11, 2023
@obol-bulldozer obol-bulldozer bot merged commit 3f76033 into main May 11, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/domaintest branch May 11, 2023 07:29
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