add rewards syscall, groom some others (#4740)
This commit is contained in:
@@ -118,7 +118,11 @@ macro_rules! solana_name_id(
|
||||
#[cfg(test)]
|
||||
#[test]
|
||||
fn test_name_id() {
|
||||
assert_eq!(id().to_string(), $name);
|
||||
// un-comment me to see what the id should look like, given a name
|
||||
// if id().to_string() != $name {
|
||||
// panic!("id for `{}` should be `{:?}`", $name, bs58::decode($name).into_vec().unwrap());
|
||||
// }
|
||||
assert_eq!(id().to_string(), $name)
|
||||
}
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user