Skip to content

Commit

Permalink
move incinerator ID to sdk-ids (solana-labs#3828)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Dec 3, 2024
1 parent 6770483 commit 54a254f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sdk/program/src/incinerator.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
//! A designated address for burning lamports.
//!
//! Lamports credited to this address will be removed from the total supply
//! (burned) at the end of the current block.
crate::declare_id!("1nc1nerator11111111111111111111111111111111");
#[deprecated(since = "2.2.0", note = "Use `solana_sdk_ids::incinerator` instead")]
pub use solana_sdk_ids::incinerator::{check_id, id, ID};
8 changes: 8 additions & 0 deletions sdk/sdk-ids/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ pub mod feature {
solana_pubkey::declare_id!("Feature111111111111111111111111111111111111");
}

/// A designated address for burning lamports.
///
/// Lamports credited to this address will be removed from the total supply
/// (burned) at the end of the current block.
pub mod incinerator {
solana_pubkey::declare_id!("1nc1nerator11111111111111111111111111111111");
}

pub mod loader_v4 {
solana_pubkey::declare_id!("LoaderV411111111111111111111111111111111111");
}
Expand Down

0 comments on commit 54a254f

Please sign in to comment.