solana-with-rpc-optimizations/cli/tests
nathan haim 60ccdb3fb4
cli: program set-upgrade-authority sign-only (#35203)
* cli: program set-upgrade-authority
Add --sign-only flag

* Apply suggestions from code review

This fixes nits.
It modifies tests: it will sign offline with `newAuthority` keypair instead of fee payer. Then it reuses the signature in the next command.

Co-authored-by: Jon C <me@jonc.dev>

* cli/tests/program: fix tests

* cli/src/program: delete unsed import

* fix to pass ci cargo-clippy-nightly

---------

Co-authored-by: Jon C <me@jonc.dev>
2024-02-22 02:07:00 +01:00
..
fixtures chore: move programs/bpf to programs/sbf 2022-10-13 11:40:40 -04:00
address_lookup_table.rs Relax authority signer check for lookup table creation (#27248) 2022-08-22 23:38:56 +01:00
nonce.rs harden cli tests (#34844) 2024-01-19 12:14:31 -06:00
program.rs cli: program set-upgrade-authority sign-only (#35203) 2024-02-22 02:07:00 +01:00
request_airdrop.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
stake.rs harden cli tests (#34844) 2024-01-19 12:14:31 -06:00
transfer.rs harden cli tests (#34844) 2024-01-19 12:14:31 -06:00
vote.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00