Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions interface/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const RENT_ID: Pubkey = Pubkey::from_str_const("SysvarRent1111111111111111111111
const STAKE_HISTORY_ID: Pubkey =
Pubkey::from_str_const("SysvarStakeHistory1111111111111111111111111");

// NOTE the stake program is in the process of removing dependence on all sysvars
// once this version of the program is live on all clusters, we can remove them here
// namely, from all doc comments in `StakeInstruction` and in all instruction builders
// we may also remove all use of and reference to the stake config account
#[cfg_attr(
feature = "serde",
derive(serde_derive::Deserialize, serde_derive::Serialize)
Expand Down
2 changes: 1 addition & 1 deletion program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ solana-pubkey = "3.0.0"
solana-rent = "3.0.0"
solana-stake-interface = { version = "2", features = ["bincode", "borsh", "sysvar"] }
solana-sysvar = "3.0.0"
solana-sysvar-id = "3.0.0"
solana-vote-interface = { version = "4.0.4", features = ["bincode"] }

[dev-dependencies]
Expand All @@ -42,7 +43,6 @@ solana-sdk-ids = "3.0.0"
solana-signature = "3.0.0"
solana-signer = "3.0.0"
solana-system-interface = { version = "2.0.0", features = ["bincode"] }
solana-sysvar-id = "3.0.0"
solana-transaction = "3.0.0"
test-case = "3.3.1"

Expand Down
Loading