Skip to content

fix(sdk): pass the programId for non-standard deployments#186

Open
sean-sqds wants to merge 1 commit into
mainfrom
feature/mul-744-v4-12-batch-execute-drops-custom-programid-when-deriving
Open

fix(sdk): pass the programId for non-standard deployments#186
sean-sqds wants to merge 1 commit into
mainfrom
feature/mul-744-v4-12-batch-execute-drops-custom-programid-when-deriving

Conversation

@sean-sqds

Copy link
Copy Markdown
Contributor

This pull request fixes a critical issue with the batchExecuteTransaction function in the multisig SDK, ensuring that custom programIds are correctly forwarded when deriving ephemeral signer PDAs. This prevents unsignable transactions when deploying to non-default program IDs. The changes also add a comprehensive regression test to verify the fix.

Bug fix for custom programId handling:

  • Updated batchExecuteTransaction in batchExecuteTransaction.ts to forward the programId when deriving ephemeral signer PDAs, ensuring correct address derivation and preventing unsignable transactions on non-default deployments.

Testing and regression coverage:

  • Added a regression test in batch-sol-transfer.ts to verify that batch transactions with ephemeral signers work correctly under a custom programId, preventing regressions of this issue (MUL-744).

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v4-sdk-typedoc Ready Ready Preview, Comment Jun 9, 2026 9:32pm

Request Review

@sean-sqds
sean-sqds marked this pull request as ready for review June 9, 2026 21:33
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.

1 participant