-
Notifications
You must be signed in to change notification settings - Fork 7
Update IDL + js clients #265
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
Conversation
--- | ||
"@solana-program/token-wrap": patch | ||
--- | ||
|
||
Update CreateMint helper to support token-2022 extension sizing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because we use git cliff on these program repos right? (Changeset is unfortunately JavaScript only).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update was due to a program change where extensions were added to the wrapped token-2022 versions. This required a new conditional: https://github.com/solana-program/token-wrap/blob/main/clients/js/src/create-mint.ts#L70-L72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay no worries. I was not really questioning the content of the changeset but more why this repo is using changesets altogether when the other repos in the solana-program
org are not. Not because it shouldn't but to understand if we should do the same on the other repos for consistency. I believe the other repos are using git cliff since it allows changelogs based on folders and not JS packages which is useful in a multi-language repo. This is out of scope for this PR anyway but I was curious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I used Kit as inspiration for using changesets and assumed it was the standard across the board for web projects at anza. My bad, didn't realize this. It doesn't feel urgent to fix now, but will definitely revisit this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you!
A follow up to #262
Updates the IDL to support newly added instructions:
SyncMetadataToSplToken
&SyncMetadataToToken2022
.