boostxyz / boost-protocol

A permissionless, trustless, and decentralized growth engine for protocol and application developers. It enables developers to bootstrap their projects by leveraging the power of community and the network effect.
https://boost-protocol.vercel.app
GNU General Public License v3.0
7 stars 3 forks source link

[ADHOC] Fix SignerValidator Signature #232

Closed jonathandiep closed 2 weeks ago

jonathandiep commented 2 weeks ago

Description

Got the following error when trying to generate a signature:

Error: private key must be 32 bytes, hex or bigint, not string

This happens because the signTypedData expects a private key, which we cannot access. It seemed like we tried to pass in signer.key, but that is the public key

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 8a8e7d73e0f0be3f21ab6d963bc6a9654e3d8836

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------- | ----- | | @boostxyz/sdk | Patch | | @boostxyz/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

sammccord commented 2 weeks ago
Warnings
:warning: By using the `[ADHOC]` title prefix, you are bypassing best practice protections.

Generated by :no_entry_sign: dangerJS against 8a8e7d73e0f0be3f21ab6d963bc6a9654e3d8836