cli: Remove stripping workspace prefix from program id of the `upgrade` command (#3345)

This commit is contained in:
acheron 2024-11-03 23:59:28 +01:00 committed by GitHub
parent a9829429b0
commit a2937a9326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3916,7 +3916,7 @@ fn upgrade(
.arg("--keypair")
.arg(cfg.provider.wallet.to_string())
.arg("--program-id")
.arg(strip_workspace_prefix(program_id.to_string()))
.arg(program_id.to_string())
.arg(strip_workspace_prefix(program_filepath))
.args(&solana_args)
.stdout(Stdio::inherit())