-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Update to Solana 3.0 #4031
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
base: master
Are you sure you want to change the base?
Update to Solana 3.0 #4031
Conversation
|
@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. |
2c7da4f to
ac8b9fa
Compare
| #[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}; |
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.
I want to highlight that these deprecated re-exports have been removed here in favor of having the end program pull them in directly
ac8b9fa to
fb1799b
Compare
|
To reduce friction with the updates for |
55975f5 to
963cefe
Compare
|
Hey! Is this expected to be completed before 3.0 is live on mainnet? |
|
@morgsmccauley 3.0 is already live on mainnet |
|
The main blocker here is |
e01e146 to
2471556
Compare
2471556 to
2af5bfd
Compare
|
As a stopgap measure, 2af5bfd disables |
|
@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 |
59738f4 to
dae944c
Compare
dae944c to
cd6f09f
Compare
Based on #4012, real changes begin in commits from Oct 27.
Closes #4025