You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I wasn't able to reproduce this. Against a local validator, I ran:
$ solana program deploy program.so
# note the program id, which was HAUbf6xjvCZT8VZ6iwxJZNMKxiDB17UyxhKPoBvLPLjf,
$ solana-keygen new -o test.json
$ solana program set-upgrade-authority HAUbf6xjvCZT8VZ6iwxJZNMKxiDB17UyxhKPoBvLPLjf --new-upgrade-authority test.json
$ solana program close HAUbf6xjvCZT8VZ6iwxJZNMKxiDB17UyxhKPoBvLPLjf --bypass-warning --authority test.json
Closed Program Id HAUbf6xjvCZT8VZ6iwxJZNMKxiDB17UyxhKPoBvLPLjf, 7.21722072 SOL reclaimed
I tested this with 1.16.13 and master, and both worked. Perhaps this was broken in a previous release. Either way, I put in #33426 to surface the error immediately by performing preflight checks.
Problem
With Version
solana-cli 1.16.10 (src:382b3f16; feat:3712769919, client:SolanaLabs
According to the
solana program close --help
, the--authority
is a valid option.The following command does not work as expected, and times out.
Command:
Output:
Once that failed I set the
upgrade-authority.json
as my default keypair, after which the following command did work.Proposed Solution
authority
command that is shown in the--help
docs of thesolana program close
command.The text was updated successfully, but these errors were encountered: