solana/cli/src
Greg Fitzgerald 61d9d219f9
Withdraw authority no longer implies a custodian (#11302)
* Withdraw authority no longer implies a custodian

Before this change, if the withdraw authority and custodian had
the same public key, then a withdraw authority signature would
imply a custodian signature and lockup would be not be enforced.

After this change, the client's withdraw instruction must
explictly reference a custodian account in its optional sixth
account argument.

Likewise, the fee-payer no longer implies either a withdraw
authority or custodian.

* Fix test

The test was configuring the stake account with the fee-payer as
the withdraw authority, but then passing in a different key to
the withdraw instruction's withdraw authority parameter. It only
worked because the second transaction was signed by the fee-payer.
2020-07-31 13:37:53 -06:00
..
offline Add account-decoder utilities (#10846) 2020-07-01 04:55:11 +00:00
checks.rs Remove fee-payer guesswork from Message and Transaction (#10776) 2020-06-24 14:52:38 -06:00
cli.rs CLI: Add arg to adjust RPC timeout 2020-07-23 22:29:40 +00:00
cli_output.rs Add block-height subcommand 2020-07-22 13:26:05 -07:00
cluster_query.rs Add block-height subcommand 2020-07-22 13:26:05 -07:00
display.rs Update struct prefixes to Ui (#10874) 2020-07-01 20:06:40 +00:00
lib.rs
main.rs CLI: Add arg to adjust RPC timeout 2020-07-23 22:29:40 +00:00
nonce.rs Remove fee-payer guesswork from Message and Transaction (#10776) 2020-06-24 14:52:38 -06:00
spend_utils.rs
stake.rs Withdraw authority no longer implies a custodian (#11302) 2020-07-31 13:37:53 -06:00
test_utils.rs
validator_info.rs Remove fee-payer guesswork from Message and Transaction (#10776) 2020-06-24 14:52:38 -06:00
vote.rs CLI: Fix explicitly plumb vote_account through create-vote-account 2020-07-14 07:29:53 -06:00