* Add (hidden) --use-deprecated-loader flag to `solana deploy`
(cherry picked from commit de736e00ad)
# Conflicts:
# cli/src/cli.rs
# cli/tests/deploy.rs
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
@@ -55,7 +55,10 @@ fn test_cli_deploy_program() {
|
||||
config.signers = vec![&keypair];
|
||||
process_command(&config).unwrap();
|
||||
|
||||
config.command = CliCommand::Deploy(pathbuf.to_str().unwrap().to_string());
|
||||
config.command = CliCommand::Deploy {
|
||||
program_location: pathbuf.to_str().unwrap().to_string(),
|
||||
use_deprecated_loader: false,
|
||||
};
|
||||
|
||||
let response = process_command(&config);
|
||||
let json: Value = serde_json::from_str(&response.unwrap()).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user