GitBulletin

Repository: farcasterxyz/hub-monorepo

Code Conundrum Conquered: Fname Registration Fixed with Ingenious Signature Solution!

2024-11-07 20:04:22 UTC

Developers Triumph as Bug Halts `hello-world` Package Registration—New Functions Revolutionize User Name Proof Processing.

Commit Details:

Fname register signature fix (#2384) ## Why is this change needed? There was a bug due to which fname registration was failing on example package `hello-world`. The PR fixes this. <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new function for creating user name proof claims and updates the way user name proof signatures are generated and processed in the `registerFname` function. It also adds a utility function for converting bytes to hex. ### Detailed summary - Added `makeUserNameProofClaim` function import. - Introduced `bytesToHex` function import. - Updated `registerFname` to use `await signer.signUserNameProofClaim` with `makeUserNameProofClaim`. - Changed signature processing to use `bytesToHex` for `userNameProofSignature.value`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar