add solana_name_id, reassociate names with modules, modularize id tests (#4580)

This commit is contained in:
Rob Walker
2019-06-06 19:27:49 -07:00
committed by GitHub
parent 191483f4ee
commit fd9fd43e83
20 changed files with 199 additions and 194 deletions

View File

@ -8,7 +8,10 @@ const CONFIG_PROGRAM_ID: [u8; 32] = [
64, 25, 163, 35, 239, 160, 0, 0, 0, 0,
];
solana_sdk::solana_program_id!(CONFIG_PROGRAM_ID);
solana_sdk::solana_name_id!(
CONFIG_PROGRAM_ID,
"Config1111111111111111111111111111111111111"
);
pub trait ConfigState: Serialize {
/// Maximum space that the serialized representation will require