Skip to content

feat(sdk-core): forward isWalletConnectTx through TSS prebuild path - #9888

Merged
nvjsr merged 1 commit into
masterfrom
nehakumari/defi-1013-forward-iswalletconnecttx-through-sdk
Oct 5, 2026
Merged

nvjsr merged 1 commit into
masterfrom
nehakumari/defi-1013-forward-iswalletconnecttx-through-sdk

Conversation

@nvjsr

@nvjsr nvjsr commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add isWalletConnectTx?: boolean to PrebuildTransactionWithIntentOptions and PopulatedIntent in baseTypes.ts
  • Forward isWalletConnectTx in wallet.ts case 'transfer' field list (prebuildTransactionTss)
  • Forward isWalletConnectTx in mpcUtils.ts populateIntent EVM payment/transferToken/fillNonce return

Context

wallet-platform's resolveEvmIsWalletConnectTx reads intent.isWalletConnectTx to stamp txChannel.connector = 'walletconnect' on WalletConnect transactions that originate from wallets without the enableWalletConnect flag. Without this SDK change, the client-supplied marker was silently dropped at two explicit field whitelists before reaching body.intent, making the wallet-platform fix in bitgo-microservices#63275 inert.

Ticket: DEFI-1013

Test plan

  • TypeScript compiles cleanly (npx tsc --noEmit in modules/sdk-core)
  • WalletConnect TSS send flow routes isWalletConnectTx: true through to wallet-platform intent after SDK beta publish and bump in downstream repos

Surface the client-supplied WalletConnect marker through
PrebuildTransactionWithIntentOptions and PopulatedIntent so that
wallet-platform can classify txChannel.connector = 'walletconnect'
even on wallets that lack the enableWalletConnect flag.

Previously both the case 'transfer' field list in
prebuildTransactionTss and the EVM payment return in populateIntent
silently dropped isWalletConnectTx before it reached body.intent.

Ticket: DEFI-1013
@nvjsr
nvjsr requested review from a team as code owners October 5, 2026 06:18
@linear-code

linear-code Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

DEFI-1013

@github-actions

github-actions Bot commented Oct 5, 2026

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

@nvjsr
nvjsr merged commit 72068c2 into master Oct 5, 2026
26 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.

2 participants