CLI: Put deploy ephemeral keypair behind a flag

This commit is contained in:
Trent Nelson
2020-10-15 21:43:18 -06:00
committed by mergify[bot]
parent 359707c85e
commit 5a5b7f39c1
2 changed files with 31 additions and 7 deletions

View File

@ -64,6 +64,7 @@ fn test_cli_deploy_program() {
program_location: pathbuf.to_str().unwrap().to_string(),
address: None,
use_deprecated_loader: false,
random_address: true,
};
let response = process_command(&config);
@ -98,6 +99,7 @@ fn test_cli_deploy_program() {
program_location: pathbuf.to_str().unwrap().to_string(),
address: Some(1),
use_deprecated_loader: false,
random_address: false,
};
process_command(&config).unwrap();
let account1 = rpc_client