forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract reserved-account-keys and sdk-ids crates (#3141)
* minimize solana_sdk use in reserved_account_keys * extract reserved-account-keys crate * fix frozen-abi support in reserved-account-keys * move id definitions to sdk-ids * also move the IDs of zk_token_proof_program and zk_elgamal_proof_program * fix some paths * missing dev dep * add doc_auto_cfg like in #3121 * fix copied sysvar id * fix missing dep after rebase * move stake::program::declare_id to stake::declare_id * post-rebase fix
- Loading branch information
1 parent
15b56c2
commit b8ac678
Showing
60 changed files
with
382 additions
and
138 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
use {crate::Clock, solana_sysvar_id::declare_sysvar_id}; | ||
pub use solana_sdk_ids::sysvar::clock::{check_id, id, ID}; | ||
use {crate::Clock, solana_sysvar_id::impl_sysvar_id}; | ||
|
||
declare_sysvar_id!("SysvarC1ock11111111111111111111111111111111", Clock); | ||
impl_sysvar_id!(Clock); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
use {crate::EpochRewards, solana_sysvar_id::declare_sysvar_id}; | ||
pub use solana_sdk_ids::sysvar::epoch_rewards::{check_id, id, ID}; | ||
use {crate::EpochRewards, solana_sysvar_id::impl_sysvar_id}; | ||
|
||
declare_sysvar_id!("SysvarEpochRewards1111111111111111111111111", EpochRewards); | ||
impl_sysvar_id!(EpochRewards); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
use {crate::EpochSchedule, solana_sysvar_id::declare_sysvar_id}; | ||
pub use solana_sdk_ids::sysvar::epoch_schedule::{check_id, id, ID}; | ||
use {crate::EpochSchedule, solana_sysvar_id::impl_sysvar_id}; | ||
|
||
declare_sysvar_id!("SysvarEpochSchedu1e111111111111111111111111", EpochSchedule); | ||
impl_sysvar_id!(EpochSchedule); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.