solana-with-rpc-optimizations/program-test/tests
Tyera 9253c465d1
Persist EpochRewards sysvar (#572)
* Persist EpochRewards sysvar between reward intervals

* Adjust initial EpochRewards balance to ensure it is not debited out of existence

* Set EpochRewards::active = false at end of distribution

* Fix tests

* Extend test to 2 epochs, assert sysvar still exists

* Stop adjusting EpochRewards balance based on rewards

* Fix tests

* Review suggestions
2024-04-05 10:13:50 -06:00
..
builtins.rs banks-server: Support versioned transactions (#33005) 2023-08-28 23:08:41 +02:00
compute_units.rs Remove duplicated token ids and use a shared inline-spl crate (#456) 2024-04-01 14:31:04 +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 Remove duplicated token ids and use a shared inline-spl crate (#456) 2024-04-01 14:31:04 +02:00
return_data.rs transaction-status: Add return data to meta (#23688) 2022-03-22 23:17:05 +01:00
setup.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
spl.rs Remove duplicated token ids and use a shared inline-spl crate (#456) 2024-04-01 14:31:04 +02:00
stake.rs Fix bug of same-epoch stake deactivation after stake redelegation (#32606) 2023-09-25 16:35:40 -05:00
sysvar.rs Persist EpochRewards sysvar (#572) 2024-04-05 10:13:50 -06:00
sysvar_last_restart_slot.rs Restrict access to Bank's HardForks (#32180) 2023-06-20 23:44:43 -05:00
warp.rs [program-test] adding method warp_to_epoch (#34620) 2024-01-03 10:58:22 -07:00