Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk/js: Refactor WrappedMeta class constructor to include lastUpdatedSequence #3550

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

kev1n-peters
Copy link
Contributor

The last_updated_sequence variable was added to the new WrappedAsset struct which is currently deployed in devnet. When I created a new wrapped token or updated an existing one the data length of the wrapped asset changed from 35 to 43 bytes. This PR supports deserializing both the legacy (35 bytes) and new (43 bytes) wrapped asset data.

evan-gray
evan-gray previously approved these changes Nov 21, 2023
@barnjamin barnjamin force-pushed the solana-wrapped-meta-size branch from 50be94e to 0eb5ce4 Compare November 22, 2023 18:30
@evan-gray evan-gray force-pushed the solana-wrapped-meta-size branch from 0eb5ce4 to 390e86e Compare December 4, 2023 17:14
@kev1n-peters kev1n-peters merged commit f0bbb82 into main Dec 4, 2023
21 of 22 checks passed
@kev1n-peters kev1n-peters deleted the solana-wrapped-meta-size branch December 4, 2023 20: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.

3 participants