optimization

This commit is contained in:
Hardhat Chad
2024-02-13 23:24:57 +00:00
parent 7cba1ff1da
commit 54b7a35433
15 changed files with 495 additions and 58 deletions

View File

@@ -132,6 +132,15 @@ async fn test_initialize() {
assert_eq!(treasury_tokens.is_native, COption::None);
assert_eq!(treasury_tokens.delegated_amount, 0);
assert_eq!(treasury_tokens.close_authority, COption::None);
// println!(
// "Treasury {:?} {:?} {:?}",
// treasury_pda.0,
// treasury_account,
// bs64::encode(&treasury_account.data)
// );
// assert!(false);
}
async fn setup_program_test_env() -> (BanksClient, Keypair, Hash) {