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

Undefined: blsInstance #1

Open
carry2web opened this issue May 27, 2024 · 2 comments
Open

Undefined: blsInstance #1

carry2web opened this issue May 27, 2024 · 2 comments

Comments

@carry2web
Copy link

carry2web commented May 27, 2024

See below
Operating System: Ubuntu 22.04.4 LTS
On Ubuntu go version 1.22.2 fails to run with below errors, given example is from README

go run main.go --bls-seed-phrase="category ignore around vibrant delay cargo apart truly rabbit blue master cash" --deso-public-key="BC1YLhS6ruuvtGX58AG8gAvEjhsBR2xdZB54AaGUZ43MnS3nWcm5RYx"

github.com/onflow/crypto

../go/pkg/mod/github.com/onflow/[email protected]/sign.go:77:10: undefined: blsInstance
../go/pkg/mod/github.com/onflow/[email protected]/sign.go:96:2: undefined: initBLS12381
../go/pkg/mod/github.com/onflow/[email protected]/sign.go:97:2: undefined: blsInstance
../go/pkg/mod/github.com/onflow/[email protected]/sign.go:97:17: undefined: blsBLS12381Algo
../go/pkg/mod/github.com/onflow/[email protected]/sign_test_utils.go:217:34: undefined: isG2Compressed
root@ubuntu:~/validator-key-generator# go version
go version go1.22.2 linux/amd64

I'm not a go expert, how to troubleshoot?

@carry2web
Copy link
Author

@lazynina please some help?

@lazynina
Copy link
Member

@carry2web - just push some updates - can you try pulling the latest on main and running the command again? it's working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants