Skip to content

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Dec 17, 2025

Replace legacy transaction builder with PSBT for cross-chain recovery, aligning with the pattern used in backupKeyRecovery.ts.

Changes:

  • Use UtxoPsbt for both signed and unsigned cross-chain recovery
  • Add signAndVerifyPsbt for signing with user key
  • Make txInfo optional in response interfaces (PSBT is self-contained)
  • Remove unused legacy functions (getTxInfo, old createSweepTransaction)

Test updates:

  • Fix nested it() blocks that were never executing
  • Add 142 fixture files for cross-chain recovery combinations

Ticket: BTC-2890

TICKET: BTC-2890

@lcovar lcovar requested a review from a team as a code owner December 17, 2025 22:47
Replace legacy transaction builder with PSBT for cross-chain recovery,
aligning with the pattern used in backupKeyRecovery.ts.

Changes:
- Use UtxoPsbt for both signed and unsigned cross-chain recovery
- Add signAndVerifyPsbt for signing with user key
- Make txInfo optional in response interfaces (PSBT is self-contained)
- Remove unused legacy functions (getTxInfo, old createSweepTransaction)

Test updates:
- Fix nested it() blocks that were never executing
- Add 142 fixture files for cross-chain recovery combinations

Ticket: BTC-2890

TICKET: BTC-2890
version: 1 | 2;
txHex: string;
txInfo: TransactionInfo<TNumber>;
txInfo?: TransactionInfo<TNumber>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we might to fully get rid of these

@OttoAllmendinger OttoAllmendinger merged commit 7d33b08 into master Dec 18, 2025
15 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.

3 participants