-
Notifications
You must be signed in to change notification settings - Fork 83
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
featureset: herumi_bls
feature flag
#1745
Conversation
…ependencies Needed because sometimes the environment in which we execute the binary (Docker, Debian) might run a different version of glibc than host, leading to runtime errors.
Codecov ReportBase: 54.76% // Head: 54.54% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1745 +/- ##
==========================================
- Coverage 54.76% 54.54% -0.23%
==========================================
Files 162 162
Lines 20820 20831 +11
==========================================
- Hits 11402 11362 -40
- Misses 7894 7944 +50
- Partials 1524 1525 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
app/app.go
Outdated
blsv2.SetImplementation(kryptology.Kryptology{}) | ||
|
||
if featureset.Enabled(featureset.HerumiBLS) { | ||
log.Info(ctx, "enabling Herumi BLS signature backend") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log lines should start with a capital
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should've been covered in pre-commit hooks. @gsora do you have pre-commit installed on your local?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did! That's how I fix the pre-commit issues that appear in CI. For some reason it isn't executing at commit time... I re-tried installation, hopefully this stuff will get caught from now on.
Sorry!
This PR adds support for the
herumi_bls
feature flag.Right now the flag is used in
app/app.go
in preparation for #1744, but apart for that this is 100% dormant code.I had to update the way we compile binaries for
compose
so that we don't end up with glibc issues between host and Docker.category: feature
ticket: #1743