solana-with-rpc-optimizations/runtime
HaoranYi 8a0c91d842
Skip creating reward partition account for `--partitioned-epoch-rewards-force-enable-single-slot` (#34946)
* skip creating reward partition account when we are testing agains mainnet

* Update runtime/src/bank.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update runtime/src/bank.rs

Co-authored-by: Brooks <brooks@prumo.org>

* refactor bool logic for partition reward single slot enable

* Update runtime/src/bank.rs

Co-authored-by: Tyera <teulberg@gmail.com>

* move force_partition_rewards check into data account create fn

* share code

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: Brooks <brooks@prumo.org>
Co-authored-by: Tyera <teulberg@gmail.com>
2024-01-26 21:24:54 +00:00
..
benches Removes unnecessary AccountsDb::new_with_config_for_benches() (#34484) 2023-12-18 06:52:41 -05:00
src Skip creating reward partition account for `--partitioned-epoch-rewards-force-enable-single-slot` (#34946) 2024-01-26 21:24:54 +00:00
tests refactor: optional `stake_history` arg is never `None` (#34556) 2023-12-22 10:44:28 +08:00
.gitignore
Cargo.toml Move EpochRewardsHasher to solana-sdk (#34934) 2024-01-24 16:25:01 -07:00
build.rs