Switch solana deploy
commitment default from "max" to "singleGossip" (#14146)
(cherry picked from commit db4ac17259
)
Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@ -2792,7 +2792,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
|
|||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Use the designated program id, even if the account already holds a large balance of SOL")
|
.help("Use the designated program id, even if the account already holds a large balance of SOL")
|
||||||
)
|
)
|
||||||
.arg(commitment_arg_with_default("max")),
|
.arg(commitment_arg_with_default("singleGossip")),
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("program-upgrade")
|
SubCommand::with_name("program-upgrade")
|
||||||
|
@ -206,7 +206,10 @@ pub fn parse_args<'a>(
|
|||||||
verbose,
|
verbose,
|
||||||
output_format,
|
output_format,
|
||||||
commitment,
|
commitment,
|
||||||
send_transaction_config: RpcSendTransactionConfig::default(),
|
send_transaction_config: RpcSendTransactionConfig {
|
||||||
|
preflight_commitment: Some(commitment.commitment),
|
||||||
|
..RpcSendTransactionConfig::default()
|
||||||
|
},
|
||||||
address_labels,
|
address_labels,
|
||||||
},
|
},
|
||||||
signers,
|
signers,
|
||||||
|
Reference in New Issue
Block a user