Skip to content

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

Merged
sean-sqds merged 2 commits into
mainfrom
feature/mul-744-v4-12-batch-execute-drops-custom-programid-when-deriving
Jul 29, 2026
Merged

sean-sqds merged 2 commits 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 Jul 29, 2026 12:37pm

Request Review

@sean-sqds
sean-sqds marked this pull request as ready for review June 9, 2026 21:33

@bguillaumat-squads bguillaumat-squads left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK

@sean-sqds
sean-sqds merged commit c34015c into main Jul 29, 2026
4 of 5 checks passed
@jeff-sqds
jeff-sqds deleted the feature/mul-744-v4-12-batch-execute-drops-custom-programid-when-deriving branch October 7, 2026 18:28

This branch was successfully deployed

1 active deployment
Preview — 27912513 Deployed Jul 29, 2026 by vercel[bot]
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