Skip to content

Conversation

kcsongor
Copy link
Contributor

No description provided.

tokenwrap and others added 2 commits August 27, 2025 20:54
Problem: Attestation is failing for tokens that were created recently.

Cause: Metaplex has resized the SPL token metadata account from 679 bytes to 607 bytes in the commit (6b2e869)
However, the token-bridge is still using the older version of the SPL token metadata and validating the size based on the older constant. As a result, this check fails to attest tokens that are using the new metadata accounts.

Solution: To resolve this, I have added an additional condition with the new metadata length constant, allowing the validation to pass if the SPL token has either of the two metadata account lengths.
These have since been transferred to the self-upgrade PDA
@kcsongor kcsongor force-pushed the solana/mpl-metadata-patch branch 6 times, most recently from 2ef7c12 to 27f2baf Compare August 27, 2025 20:14
@kcsongor kcsongor force-pushed the solana/mpl-metadata-patch branch from 27f2baf to bbc4947 Compare August 27, 2025 20:29
@kcsongor kcsongor force-pushed the solana/mpl-metadata-patch branch from 51089a0 to d1e1f1b Compare September 10, 2025 16:09
@aadam-10
Copy link
Contributor

@kcsongor kcsongor force-pushed the solana/mpl-metadata-patch branch 2 times, most recently from 90c99ae to be2f4fe Compare September 25, 2025 11:04
@kcsongor kcsongor force-pushed the solana/mpl-metadata-patch branch from be2f4fe to d299440 Compare September 25, 2025 12:01
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