Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jamie-osec
Copy link
Collaborator

@jamie-osec jamie-osec commented Oct 27, 2025

Based on #4012, real changes begin in commits from Oct 27.

Closes #4025

@vercel
Copy link

vercel bot commented Oct 27, 2025

@jamie-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@jamie-osec jamie-osec marked this pull request as draft October 27, 2025 17:05
@jamie-osec jamie-osec marked this pull request as ready for review October 27, 2025 23:56
Comment on lines -137 to -160
#[deprecated(since = "2.2.0", note = "Use `solana-sysvar` crate instead")]
#[allow(deprecated)]
pub use {
solana_sdk_ids::sysvar::{check_id, id, ID},
solana_sysvar::{
clock, epoch_rewards, epoch_schedule, fees, is_sysvar_id, last_restart_slot,
recent_blockhashes, rent, rewards, slot_hashes, slot_history, stake_history,
Sysvar, ALL_IDS,
},
};
pub mod instructions {
pub use solana_instruction::{BorrowedAccountMeta, BorrowedInstruction};
#[cfg(not(target_os = "solana"))]
pub use solana_instructions_sysvar::construct_instructions_data;
#[deprecated(
since = "2.2.0",
note = "Use solana-instructions-sysvar crate instead"
)]
pub use solana_instructions_sysvar::{
get_instruction_relative, load_current_index_checked, load_instruction_at_checked,
store_current_index_checked, Instructions,
};
#[deprecated(since = "2.2.0", note = "Use solana-sdk-ids crate instead")]
pub use solana_sdk_ids::sysvar::instructions::{check_id, id, ID};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to highlight that these deprecated re-exports have been removed here in favor of having the end program pull them in directly

@jamie-osec
Copy link
Collaborator Author

To reduce friction with the updates for anchor-spl, the spl-<name>-interface crates are re-exported as spl-<name> as they were previously

@jamie-osec jamie-osec force-pushed the solana-3-0 branch 3 times, most recently from 55975f5 to 963cefe Compare October 28, 2025 00:23
@morgsmccauley
Copy link

Hey! Is this expected to be completed before 3.0 is live on mainnet?

@jacobcreech
Copy link
Collaborator

@morgsmccauley 3.0 is already live on mainnet

@nutafrost nutafrost moved this to Todo in Anchor 1.0 Oct 28, 2025
@nutafrost nutafrost moved this from Todo to Security Review Required in Anchor 1.0 Oct 28, 2025
@jamie-osec
Copy link
Collaborator Author

The main blocker here is mpl-token-metadata and dependencies, which will need updating

@jamie-osec jamie-osec added breaking Major Major breaking change labels Oct 29, 2025
@nutafrost nutafrost assigned jacobcreech and unassigned jamie-osec Nov 4, 2025
@jamie-osec jamie-osec force-pushed the solana-3-0 branch 2 times, most recently from e01e146 to 2471556 Compare November 5, 2025 14:11
@jamie-osec
Copy link
Collaborator Author

As a stopgap measure, 2af5bfd disables anchor_spl::metadata, removing the mpl-token-metadata for now

@jacobcreech
Copy link
Collaborator

@jamie-osec is there a way we can update where we don't need to depend on external dependencies in the future? We can't continue to have this kind of problem post 1.0

@jamie-osec jamie-osec force-pushed the solana-3-0 branch 5 times, most recently from 59738f4 to dae944c Compare November 10, 2025 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Major Major breaking change

Projects

Status: Security Review Required

Development

Successfully merging this pull request may close these issues.

Update to solana-sdk >=3

5 participants