You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publickey.go file is broken, missing some funciton declearation and incorrect return values.
I would like to use VerifyPersonalMessage function inside publickey.go, but I found the file is broken at mutliple lines and the project fails to start.
Steps or screenshots to reproduce the behavior
Go to publickey.go under ed25519 package
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/keypairs/ed25519/publickey.go:31:9:
too many return values
have (string, bool, error)
want (bool, error)
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/keypairs/ed25519/publickey.go:31:35:
cannot use signature (variable of type []byte) as string value in argument to
VerifyMessage
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/keypairs/ed25519/publickey.go:36:18:
undefined: NewMessageWithIntent
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/keypairs/ed25519/publickey.go:38:30:
undefined: FromSerializedSignature
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/keypairs/ed25519/publickey.go:55:27:
undefined: SigFlagEd25519
# github.com/block-vision/sui-go-sdk/zklogin
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/zklogin/publickey.go:54:26:
undefined: mystenbcs.ToHex
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/zklogin/publickey.go:54:42:
undefined: mystenbcs.Blake2b
../../../../../go/pkg/mod/github.com/block-vision/sui-go-sdk@v1.0.6/zklogin/publickey.go:54:52:
p.toSuiBytes undefined (type *ZkLoginPublicIdentifier has no field or method
toSuiBytes)
: exit status 1
Provide Your Environment
golang 1.22
Describe the bug
publickey.go file is broken, missing some funciton declearation and incorrect return values.
I would like to use VerifyPersonalMessage function inside publickey.go, but I found the file is broken at mutliple lines and the project fails to start.
Steps or screenshots to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: