Add macros for deprecacted ids (#18907)

This commit is contained in:
Jack May
2021-07-26 20:54:46 -07:00
committed by GitHub
parent a4024168de
commit eaeeffa5a3
4 changed files with 101 additions and 1 deletions

View File

@ -50,6 +50,8 @@ pub mod timing;
pub mod transaction;
pub mod transport;
/// Same as `declare_id` except report that this id has been deprecated
pub use solana_sdk_macro::declare_deprecated_id;
/// Convenience macro to declare a static public key and functions to interact with it
///
/// Input: a single literal base58 string representation of a program's id