solana-with-rpc-optimizations/program-test
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
..
src Use `&str` instead of `String` in `add_builtin` (#539) 2024-04-02 14:36:13 -03:00
tests Persist EpochRewards sysvar (#572) 2024-04-05 10:13:50 -06:00
Cargo.toml Remove duplicated token ids and use a shared inline-spl crate (#456) 2024-04-01 14:31:04 +02:00