Skip to content

feat: migrate recover to ExternalEd25519Signer - #10042

Merged
pranishnepal merged 1 commit into
masterfrom
WCN-3754
Oct 23, 2026
Merged

pranishnepal merged 1 commit into
masterfrom
WCN-3754

Conversation

@pranishnepal

@pranishnepal pranishnepal commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

What

Migrate XLM and HBAR recover() from the pre-made externalBackupSignature hook to the shared lazy ExternalEd25519Signer, signing tx.hash() (XLM) and built bodyBytes (HBAR) via signWithExternalEd25519Signer. backupKey is now optional when an external signer is supplied. Also harden the shared helper to hand the callback a copy of the message so signed bytes cannot be mutated after the fact.

Follow-up from: #10012

Ticket: WCN-3754

@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

WCN-3754

Migrate XLM and HBAR recover() from the pre-made externalBackupSignature
hook to the shared lazy ExternalEd25519Signer, signing tx.hash() (XLM)
and built bodyBytes (HBAR) via signWithExternalEd25519Signer. backupKey
is now optional when an external signer is supplied. Also harden the
shared helper to hand the callback a copy of the message so signed bytes
cannot be mutated after the fact.

Ticket: WCN-3754
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

@pranishnepal
pranishnepal marked this pull request as ready for review October 23, 2026 17:04
@pranishnepal
pranishnepal requested review from a team as code owners October 23, 2026 17:04

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@danielpeng1

Copy link
Copy Markdown
Contributor

@claude review

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread modules/sdk-coin-xlm/src/xlm.ts
@pranishnepal
pranishnepal merged commit 46d04bb into master Oct 23, 2026
28 checks passed
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.

4 participants