solana/sdk/program/src/stake
HaoranYi d25d53e979
Fix bug of same-epoch stake deactivation after stake redelegation (#32606)
* fix stake deactivation in the same epoch after redelegation bug

add tests

refactor common code into fn

avoid early return

add feature gate for the new stake redelegate behavior

move stake tests out of cli

add stake-program-test crate

reimplemnt stake test with program-test

remove stake-program-test crate

reviews

add setup.rs

remove clippy

reveiws

* reviews

* review comments

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-09-25 16:35:40 -05:00
..
config.rs stake: pub use config constants for api backwards compatibility (#32769) 2023-08-09 15:45:02 -07:00
deprecated.rs
instruction.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
mod.rs stake: deprecate on chain warmup/cooldown rate and config (#32723) 2023-08-07 13:23:24 -07:00
stake_flags.rs Add stake flags struct (#32521) 2023-07-18 11:19:33 -05:00
state.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
tools.rs Rust v1.63 (#27303) 2022-08-22 18:01:03 -07:00