solana-with-rpc-optimizations/runtime
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
..
benches Moves accounts benches into accounts-db crate (#164) 2024-03-11 11:34:08 -04:00
src Persist EpochRewards sysvar (#572) 2024-04-05 10:13:50 -06:00
tests refactor: optional `stake_history` arg is never `None` (#34556) 2023-12-22 10:44:28 +08:00
.gitignore
Cargo.toml Remove duplicated token ids and use a shared inline-spl crate (#456) 2024-04-01 14:31:04 +02:00
build.rs