solana/cli/src
Tyera bca41edf20
Make active stake consistent in split (#33295)
* Add feature gate

* Add helper fn

* Require split destination to be rent-exempt if it is active

* Update cli to prefund split accounts

* cli: require rent param with sign-only

* Update tokens to prefund split accounts

* Update split tests with sysvar accounts

* Fix test_split_to_account_with_rent_exempt_reserve

* Fix test_staked_split_destination_minimum_balance

* Fix test_split_more_than_staked

* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case

* Fix test_split_from_larger_sized_account

* Add test for pre-/post-activation behavior splitting some or all of stake account

* Assert active stake

* Fix runtime test

* Ignore stake-pool downstream

* Review comments

* Feature gate sysvar reads
2023-09-20 06:00:51 +00:00
..
address_lookup_table.rs Refactor - Move interfaces of address-lookup-table into the program SDK (#33165) 2023-09-11 21:10:40 +02:00
checks.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
clap_app.rs Implement CLI front-end for loader-v4 commands (#33289) 2023-09-19 08:27:35 -07:00
cli.rs Make active stake consistent in split (#33295) 2023-09-20 06:00:51 +00:00
cluster_query.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
compute_unit_price.rs Cli support compute_unit_price (#26464) 2022-08-02 22:23:05 -05:00
feature.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
inflation.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
lib.rs Processors to compile and send LoaderV4 CLI commands (#33228) 2023-09-18 06:43:33 -07:00
main.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
memo.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
nonce.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
program.rs Processors to compile and send LoaderV4 CLI commands (#33228) 2023-09-18 06:43:33 -07:00
program_v4.rs Implement CLI front-end for loader-v4 commands (#33289) 2023-09-19 08:27:35 -07:00
spend_utils.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
stake.rs Make active stake consistent in split (#33295) 2023-09-20 06:00:51 +00:00
test_utils.rs allow stake tests to wait for rewards payout (#31821) 2023-05-30 08:56:02 -05:00
validator_info.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00
vote.rs Implement timely vote credits feature. (#32957) 2023-09-12 10:40:04 -07:00
wallet.rs Refactor - Demotes `Arc` to `Rc`. (#32982) 2023-08-25 00:54:06 +02:00