Skip to content

Commit

Permalink
move stake::program::declare_id to stake::declare_id
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 5, 2024
1 parent bffbc62 commit a1bf263
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/program/src/stake/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod state;
pub mod tools;

pub mod program {
pub use solana_sdk_ids::stake::program::{check_id, id, ID};
pub use solana_sdk_ids::stake::{check_id, id, ID};
}

/// The minimum number of epochs before stake account that is delegated to a delinquent vote
Expand Down
2 changes: 1 addition & 1 deletion sdk/reserved-account-keys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ lazy_static! {
ReservedAccount::new_pending(secp256k1_program::id(), feature_set::add_new_reserved_account_keys::id()),
#[allow(deprecated)]
ReservedAccount::new_active(stake::config::id()),
ReservedAccount::new_active(stake::program::id()),
ReservedAccount::new_active(stake::id()),
ReservedAccount::new_active(system_program::id()),
ReservedAccount::new_active(vote::id()),
ReservedAccount::new_pending(zk_elgamal_proof_program::id(), feature_set::add_new_reserved_account_keys::id()),
Expand Down
4 changes: 1 addition & 3 deletions sdk/sdk-ids/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ pub mod stake {
pub mod config {
solana_pubkey::declare_deprecated_id!("StakeConfig11111111111111111111111111111111");
}
pub mod program {
solana_pubkey::declare_id!("Stake11111111111111111111111111111111111111");
}
solana_pubkey::declare_id!("Stake11111111111111111111111111111111111111");
}

pub mod system_program {
Expand Down

0 comments on commit a1bf263

Please sign in to comment.