Add (hidden) --use-deprecated-loader flag to solana deploy

This commit is contained in:
Michael Vines
2020-08-17 18:06:22 -07:00
parent e5281157fa
commit de736e00ad
2 changed files with 35 additions and 5 deletions

View File

@ -63,6 +63,7 @@ fn test_cli_deploy_program() {
config.command = CliCommand::Deploy {
program_location: pathbuf.to_str().unwrap().to_string(),
address: None,
use_deprecated_loader: false,
};
let response = process_command(&config);
@ -96,6 +97,7 @@ fn test_cli_deploy_program() {
config.command = CliCommand::Deploy {
program_location: pathbuf.to_str().unwrap().to_string(),
address: Some(1),
use_deprecated_loader: false,
};
process_command(&config).unwrap();
let account1 = rpc_client