solana/program-test/tests
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
..
builtins.rs banks-server: Support versioned transactions (#33005) 2023-08-28 23:08:41 +02:00
compute_units.rs program-test: Prohibit setting the compute unit limit past `i64::MAX` (#32807) 2023-08-11 18:30:22 +02:00
cpi.rs program-test: Add working `get_stack_height` stub call (#28451) 2022-10-18 15:09:04 -04:00
fuzz.rs clippy: Removes redundant async blocks (#31526) 2023-05-09 09:35:38 -04:00
lamports.rs program-test: Add test for moving lamports (#30637) 2023-03-08 12:43:26 +01:00
realloc.rs program-test: Fix realloc in native mode (#32818) 2023-08-14 13:56:03 +02:00
return_data.rs
setup.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
spl.rs program-test: Add token-2022 to default programs (#29878) 2023-01-26 01:52:55 +01:00
stake.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
sysvar.rs Test epoch rewards sysvar in program test (#32293) 2023-06-28 10:50:11 -05:00
sysvar_last_restart_slot.rs Restrict access to Bank's HardForks (#32180) 2023-06-20 23:44:43 -05:00
warp.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00