Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
This commit is contained in:
@@ -310,8 +310,8 @@ mod tests {
|
||||
faucet_keypair.pubkey(),
|
||||
Account::new(10_000, 0, &Pubkey::default()),
|
||||
);
|
||||
config.add_account(Pubkey::new_rand(), Account::new(1, 0, &Pubkey::default()));
|
||||
config.add_native_instruction_processor("hi".to_string(), Pubkey::new_rand());
|
||||
config.add_account(solana_sdk::pubkey::new_rand(), Account::new(1, 0, &Pubkey::default()));
|
||||
config.add_native_instruction_processor("hi".to_string(), solana_sdk::pubkey::new_rand());
|
||||
|
||||
assert_eq!(config.accounts.len(), 2);
|
||||
assert!(config
|
||||
|
Reference in New Issue
Block a user