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

Fix broken links #481

Merged
merged 6 commits into from
Nov 8, 2024
Merged

Fix broken links #481

merged 6 commits into from
Nov 8, 2024

Conversation

calintje
Copy link
Contributor

@calintje calintje commented Nov 7, 2024

Title
Fix broken links

Details

  • Searched for instances of 'http' to identify outdated or broken links.
  • Updated links to use correct URLs.

@@ -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
Copy link
Member

@wjthieme wjthieme Nov 7, 2024

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
Copy link
Member

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?

@@ -9,3 +9,4 @@
"family": "Orca Whirlpool Position"
}
}
??
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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

@calintje calintje enabled auto-merge (squash) November 8, 2024 00:08
@wjthieme wjthieme merged commit a735f9a into main Nov 8, 2024
5 checks passed
@wjthieme wjthieme deleted the calintje/fix-links branch November 8, 2024 00:28
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.

2 participants