Skip to content

Conversation

@mirmohmmadluqman
Copy link

Fixes several documentation bugs identified in the Token Basics and CPI sections. These changes resolve runtime errors in the code examples and fix broken navigation links.

Changes:

  • cpi.mdx: Fixed broken internal MDX link syntax for the PDAs reference.
  • mint-tokens.mdx: Renamed transactionSignature to mintTransactionSignature in the Legacy Helper example to match the variable definition.
  • transfer-tokens.mdx: Renamed transactionSignature2 to transferTransactionSignature in Legacy and Legacy Helper examples to fix undefined variable usage.
  • approve-delegate.mdx: Fixed variable name inconsistencies in the Legacy examples.

All fixes have been applied to the English documentation and propagated to all other translations.

Fixed broken internal link in cpi.mdx and corrected variable naming inconsistencies in mint-tokens.mdx, transfer-tokens.mdx, and approve-delegate.mdx across all languages.
@vercel
Copy link

vercel bot commented Dec 20, 2025

@mirmohmmadluqman is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Restored content... I accidentally deleted explanatory text and <WithMentions> block
for the 'CPIs with PDA signers' section in 9 language translations.

The previous commit fixing broken links inadvertently deleted the paragraph
explaining how invoke_signed works with PDA signers in fi, id, it, ja, ko,
pl, ru, uk, and zh translations.

Languages restored:
- Finnish (fi)
- Indonesian (id)
- Italian (it)
- Japanese (ja)
- Korean (ko)
- Polish (pl)
- Russian (ru)
- Ukrainian (uk)
- Chinese (zh)
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