Skip to content

fix(sdk-coin-sol): decoupling static call for token info#8949

Merged
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-958
Jun 5, 2026
Merged

fix(sdk-coin-sol): decoupling static call for token info#8949
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-958

Conversation

@abhishekagrawal080

Copy link
Copy Markdown
Contributor

TICKET: CSHLD-958
tokenTransferBuilder.ts

  1. createAssociatedTokenAccount(): getSolTokenFromTokenName now only called when recipient.tokenAddress is absent
  2. buildImplementation() send mapping: only called when tokenAddress/programId/decimalPlaces are not all provided
  3. buildImplementation() ATA mapping: caller-provided tokenAddress+programId now takes priority; statics only called as fallback

ataInitializationBuilder.ts

  1. enableToken(): getSolTokenFromTokenName now only called when recipient.tokenAddress is absent
  2. buildImplementation(): only called when recipient.tokenAddress && recipient.programId are not both present

@abhishekagrawal080 abhishekagrawal080 requested a review from a team as a code owner June 5, 2026 08:12
@linear-code

linear-code Bot commented Jun 5, 2026

Copy link
Copy Markdown

CSHLD-958

@veetragjain veetragjain 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.

Lgtm

@abhishekagrawal080 abhishekagrawal080 merged commit 1165435 into master Jun 5, 2026
22 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