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

Compilation error fixes and BCS encoding/decoding support #45

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hwnprsd
Copy link

@hwnprsd hwnprsd commented Dec 24, 2024

This PR addresses critical issues and introduces necessary fixes:

  1. Compilation Breakage: Importing this package caused project compilation failures due to publickey.go file is broken #43. This issue has been resolved by removing partially implemented functions.

  2. verifyPersonalMessage Functionality: The verifyPersonalMessage function was non-functional due to the lack of BCS encoding support in the SDK. Since BCS encoding is required to verify signatures, every message must be BCS encoded before verification. To resolve this, I implemented BCS encoding and decoding functionality, drawing inspiration from the implementation in fardream/go-bcs.

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

Successfully merging this pull request may close these issues.

1 participant