This repository was archived by the owner on Sep 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Release 1.5.4 broken: bls12-381/fp.go:53:2: undefined: mul
#30
Comments
I know we updated to go 1.17 between releases but I haven't seen that error before. I'll take a look to see if I can reproduce it. |
@mikelodder7 Have you had a chance to try this out? Simply running the tests still fails for me. |
I’m going to review in depth later this week. Hopefully can reproduce and adjust. Thanks for keeping on it |
I'm facing the same issue. It seems to be build tag related when running on arm64 M1 Mac, for the package to build you need to specify pakkage:
|
This was referenced Feb 14, 2022
Should be fixed in #49 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Seems like there is an issue with the
bls12-381
package in the 1.5.4 release.Using
go get github.com/coinbase/[email protected]
in my working directory works, whilego get github.com/coinbase/[email protected]
does not and results in the same errors as when I run the tests (see the image below).I believe it is related to the fact that bls12-381/arithmetic_decl.go uses the package package bls12381.
According to https://go.dev/blog/package-names, package names should either be
camelCase
orsnake_case
and not be hyphenated. If it is hyphenated, the package name should replace-
with_
.I spent about 40 minutes trying to simply rename everything, but the issue is a little more complex because of conflicting name dependencies and autogenerated vs source code, so I've decided to open this issue instead.
The text was updated successfully, but these errors were encountered: