Skip to content

codama interface: omit absent optional accounts in Withdraw and Transfer#1199

Draft
catmcgee wants to merge 2 commits into
solana-program:mainfrom
catmcgee:catmcgee/conf-withdraw-transfer-omitted-strategy
Draft

codama interface: omit absent optional accounts in Withdraw and Transfer#1199
catmcgee wants to merge 2 commits into
solana-program:mainfrom
catmcgee:catmcgee/conf-withdraw-transfer-omitted-strategy

Conversation

@catmcgee
Copy link
Copy Markdown

The onchain handlers for ConfidentialWithdraw and ConfidentialTransfer skip missing optional accounts, but the IDL's default "optionalAccountStrategy": "programId" made the generated client emit program-ID placeholders for them. Switching to "omitted" makes the client drop absent accounts instead

Reference: #1096

@catmcgee catmcgee changed the title interface: omit absent optional accounts in Withdraw and Transfer codama interface: omit absent optional accounts in Withdraw and Transfer May 29, 2026
@catmcgee catmcgee force-pushed the catmcgee/conf-withdraw-transfer-omitted-strategy branch from eeac1ac to 43e5af2 Compare May 29, 2026 19:07
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