-
Notifications
You must be signed in to change notification settings - Fork 165
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
Fix broken links #481
Fix broken links #481
Conversation
@@ -197,7 +197,7 @@ async function createMintInstructions( | |||
|
|||
// ConfidentialTransfer | |||
// [March 6, 2024] getTypeLen(ExtensionType.ConfidentialTransferMint) return 97, but 65 (2 pubkey + 1 bool) is valid | |||
// https://github.com/solana-labs/solana-program-library/blob/d72289c79a04411c69a8bf1054f7156b6196f9b3/token/js/src/extensions/extensionType.ts#L74 |
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 has since been fixed: https://github.com/solana-labs/solana-program-library/blob/55f3d4d67a3be014e0093a7be81bfdaf3b978b00/token/js/src/extensions/extensionType.ts#L81 so we can use the spl-token sdk to get the correct size. Can you create a ticket?
@@ -413,7 +413,7 @@ describe("open_position_with_metadata", () => { | |||
await assert.rejects( | |||
tx.addSigner(defaultMint).buildAndExecute(), | |||
// InvalidProgramId | |||
// https://github.com/project-serum/anchor/blob/master/lang/src/error.rs#L180 | |||
// https://github.com/coral-xyz/anchor/blob/eee03bc7c31ddc99bf3dbe1630283d9226aa7b9c/lang/src/error.rs#L231 |
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.
Maybe use the tag (of the anchor version we use) instead of the commit sha?
legacy-sdk/scripts/whirlpoolNft.json
Outdated
@@ -9,3 +9,4 @@ | |||
"family": "Orca Whirlpool Position" | |||
} | |||
} | |||
?? |
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.
??
@@ -32,7 +32,7 @@ pub struct OpenPositionWithMetadata<'info> { | |||
pub position_mint: Account<'info, Mint>, | |||
|
|||
/// CHECK: checked via the Metadata CPI call | |||
/// https://github.com/metaplex-foundation/metaplex-program-library/blob/master/token-metadata/program/src/utils.rs#L873 | |||
/// https://github.com/metaplex-foundation/mpl-token-metadata/blob/2f93406c62e791ee93435644c1a3507e910a116b/programs/token-metadata/program/src/utils/metadata.rs#L78C5-L78C39 |
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.
Maybe leave this one referring to master (since they can update their program whenever they want)
@@ -393,7 +393,7 @@ describe("open_position_with_metadata", () => { | |||
.addSigner(defaultMint) | |||
.buildAndExecute(), | |||
// Invalid Metadata Key | |||
// https://github.com/metaplex-foundation/metaplex-program-library/blob/master/token-metadata/program/src/error.rs#L36 | |||
// https://github.com/metaplex-foundation/mpl-token-metadata/blob/2f93406c62e791ee93435644c1a3507e910a116b/programs/token-metadata/program/src/error.rs#L32 |
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 would also be master since metaplex can update whenever they want
Title
Fix broken links
Details