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.
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 |
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 |
93a6aea to
59738f4
Compare
f1230df to
03a8755
Compare
03a8755 to
b86eac0
Compare
b86eac0 to
e438593
Compare
ea254b6 to
5cef24d
Compare
5cef24d to
7d89bc4
Compare
7d89bc4 to
bafa2aa
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
* feat(lang): Update to Solana 3.0 * feat(client): Update to Solana 3.0 * feat(cli): Update to Solana 3.0 * feat(spl): Update to Solana 3.0 * fix: Lock `solana-sysvar` to 3.0.x * chore: Update test lockfiles * chore: Move `solana-*` dependencies into workspace `Cargo.toml` * chore: Update benchmarks * chore: update solana-invoke * chore: update solana-invoke in dependencies --------- Co-authored-by: swaroop-osec <swaroop@osec.io> Co-authored-by: jacobcreech <jacob.creech@solana.org>
Closes #4025
Closes #3892