Skip to content

fix!: bump BitGo SDK and fix UTXO multisig sendMany#192

Merged
mohammadalfaiyazbitgo merged 1 commit intomasterfrom
WAL-762
Apr 23, 2026
Merged

fix!: bump BitGo SDK and fix UTXO multisig sendMany#192
mohammadalfaiyazbitgo merged 1 commit intomasterfrom
WAL-762

Conversation

@pranishnepal
Copy link
Copy Markdown
Contributor

@pranishnepal pranishnepal commented Apr 22, 2026

What

This commit updates the version of the bitgo SDK to the latest.
Ticket: WAL-762

Breaking Change

BREAKING CHANGE: abstract-utxo@1941 added assert(params.pubs) in the BitGoPsbt signing path. sendMany for UTXO wallets now fetches all 3 keychains and passes walletPubs=[userPub,backupPub,bitgoPub] through the signing stack to satisfy this assertion.

Testing

@linear
Copy link
Copy Markdown

linear Bot commented Apr 22, 2026

Comment thread package.json
"zod": "^3.25.48"
},
"overrides": {
"@bitgo-beta/sdk-core": "8.2.1-beta.1231",
Copy link
Copy Markdown
Contributor Author

@pranishnepal pranishnepal Apr 22, 2026

Choose a reason for hiding this comment

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

removed this - seems it was added in #133


Keeping it causes conflicts

@pranishnepal pranishnepal marked this pull request as ready for review April 22, 2026 22:04
@pranishnepal pranishnepal requested a review from a team as a code owner April 22, 2026 22:04
Comment thread package.json
baseCoin.keychains().get({ id: wallet.keyIds()[KeyIndices.BACKUP] }),
baseCoin.keychains().get({ id: wallet.keyIds()[KeyIndices.BITGO] }),
]);
const walletPubs =
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

{
  "error": "Internal Server Error",
  "name": "AssertionError",
  "details": "pubs are required for fixed script signing"
}

Copy link
Copy Markdown
Contributor

@mohammadalfaiyazbitgo mohammadalfaiyazbitgo left a comment

Choose a reason for hiding this comment

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

can you mark this as a breaking change?

@pranishnepal pranishnepal changed the title chore: bump bitgo sdk fix!: bump BitGo SDK and fix UTXO multisig sendMany Apr 23, 2026
BREAKING CHANGE: abstract-utxo@1941 added assert(params.pubs) in the
BitGoPsbt signing path. sendMany for UTXO wallets now fetches all 3
keychains and passes walletPubs=[userPub,backupPub,bitgoPub] through
the signing stack to satisfy this assertion.

- Bump all @bitgo-beta packages to latest
- Fix UTXO recovery test: replace legacy txHex fixture with valid PSBT
- Fix sendMany for UTXO coins: wire walletPubs through handleSendMany
  to signAndSendMultisig to advancedWalletManagerClient to signMultisigTransaction
- Add tests covering walletPubs behaviour and BitGoPsbt signing path

Ticket: WAL-762
@pranishnepal
Copy link
Copy Markdown
Contributor Author

can you mark this as a breaking change?

Great point, this started with a simple bump and led to a breaking change. Done!

@mohammadalfaiyazbitgo mohammadalfaiyazbitgo merged commit 072678e into master Apr 23, 2026
20 checks passed
@mohammadalfaiyazbitgo mohammadalfaiyazbitgo deleted the WAL-762 branch April 23, 2026 19:04
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.

2 participants