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

Update golangci-lint workflow #541

Merged
merged 8 commits into from
Sep 4, 2024
Merged

Update golangci-lint workflow #541

merged 8 commits into from
Sep 4, 2024

Conversation

K1li4nL
Copy link
Contributor

@K1li4nL K1li4nL commented Aug 18, 2024

No description provided.

@pierluca
Copy link
Contributor

pierluca commented Sep 1, 2024

Happy to approve, but there are some pending issues. Mostly related to the proper usage of Errorf()

Copy link

sonarcloud bot commented Sep 4, 2024

@K1li4nL K1li4nL marked this pull request as ready for review September 4, 2024 09:16
Copy link
Contributor

@pierluca pierluca left a comment

Choose a reason for hiding this comment

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

LGTM !
Thank you so much !

@@ -289,10 +289,11 @@ func mapToPoint(domain []byte, u *gfP) kyber.Point {
// Borrowed from: https://github.com/kilic/bls12-381/blob/master/hash_to_field.go
func expandMsgXmdKeccak256(domain, msg []byte, outLen int) []byte {
h := sha3.NewLegacyKeccak256()
domainLen := uint8(len(domain))
if domainLen > 255 {
if len(domain) > 255 {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm glad we're doing a v4 ... 😅

@pierluca pierluca merged commit 89decc8 into master Sep 4, 2024
11 checks passed
@pierluca pierluca deleted the update-golangci branch September 4, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants