deso-protocol / deso-protocol/validator-key-generator

Undefined: blsInstance

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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/crypto@v0.25.1/sign.go:77:10: undefined: blsInstance
../go/pkg/mod/github.com/onflow/crypto@v0.25.1/sign.go:96:2: undefined: initBLS12381
../go/pkg/mod/github.com/onflow/crypto@v0.25.1/sign.go:97:2: undefined: blsInstance
../go/pkg/mod/github.com/onflow/crypto@v0.25.1/sign.go:97:17: undefined: blsBLS12381Algo
../go/pkg/mod/github.com/onflow/crypto@v0.25.1/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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the README command through main.go on Ubuntu 22.04.4 with Go 1.22.2, then inspect the reported dependency files sign.go and sign_test_utils.go under github.com/onflow/crypto. Done should be defined as running the documented command without the reported undefined-symbol errors, but the issue does not identify the intended compatibility change.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.