You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and context
I'm encountering an issue where attestation is failing for SOL-ETH tokens minted by Pumpfun using the Wormhole SDK. This seems to be due to recent changes in the SPL token metadata.
Problem
Attestation is failing for tokens created recently. The issue arises because Metaplex resized the SPL token metadata account from 679 bytes to 607 bytes (commit 6b2e869). However, the token-bridge is still validating based on the older size, causing the attestation to fail for tokens with the new metadata accounts. Relevant link: Metaplex Token Metadata Account Size Reduction Guide.
Steps to reproduce
Attempt to bridge SOL-ETH tokens minted by Pumpfun via the Wormhole SDK.
Execute the transaction on the Solana network.
Transaction fails during metadata validation.
Experienced behavior
The transaction fails because the token-bridge is validating SPL token metadata using the older size constant.
Expected behavior
Tokens should bridge successfully, with metadata validation accounting for both the
old and new SPL token metadata account sizes.
Solution recommendation
A potential fix probably here (solana/modules/token_bridge/program/src/accounts.rs) would be to either update the token-bridge to recognize the new metadata account size or add a condition that validates tokens with both the old and new sizes.
The text was updated successfully, but these errors were encountered:
Description and context
I'm encountering an issue where attestation is failing for SOL-ETH tokens minted by Pumpfun using the Wormhole SDK. This seems to be due to recent changes in the SPL token metadata.
Problem
Attestation is failing for tokens created recently. The issue arises because Metaplex resized the SPL token metadata account from 679 bytes to 607 bytes (commit 6b2e869). However, the token-bridge is still validating based on the older size, causing the attestation to fail for tokens with the new metadata accounts. Relevant link: Metaplex Token Metadata Account Size Reduction Guide.
Steps to reproduce
Attempt to bridge SOL-ETH tokens minted by Pumpfun via the Wormhole SDK.
Execute the transaction on the Solana network.
Transaction fails during metadata validation.
Experienced behavior
The transaction fails because the token-bridge is validating SPL token metadata using the older size constant.
Expected behavior
Tokens should bridge successfully, with metadata validation accounting for both the
old and new SPL token metadata account sizes.
Solution recommendation
A potential fix probably here (solana/modules/token_bridge/program/src/accounts.rs) would be to either update the token-bridge to recognize the new metadata account size or add a condition that validates tokens with both the old and new sizes.
The text was updated successfully, but these errors were encountered: