Skip to content

Reorganize partitioned_epoch_rewards::tests fixtures#1719

Merged
CriesofCarrots merged 3 commits intoanza-xyz:masterfrom
CriesofCarrots:partitioned-test
Jun 13, 2024
Merged

Reorganize partitioned_epoch_rewards::tests fixtures#1719
CriesofCarrots merged 3 commits intoanza-xyz:masterfrom
CriesofCarrots:partitioned-test

Conversation

@CriesofCarrots
Copy link
Copy Markdown

Problem

I want to use RewardBank and its constructors in tests for a partitioned_epoch_rewards-module function in #1601

Summary of Changes

Move fixtures up to mod.rs
Use fixtures in a couple tests that were duplicating the logic

@CriesofCarrots CriesofCarrots changed the title Reorganize partitioned_epoch_rewards::tests fictures Reorganize partitioned_epoch_rewards::tests fixtures Jun 13, 2024
@CriesofCarrots CriesofCarrots requested a review from jstarry June 13, 2024 05:52
@CriesofCarrots
Copy link
Copy Markdown
Author

@jstarry , sorry, this is kind of a nothing-burger PR, but I thought it would be cleaner to keep separate from #1601

@CriesofCarrots CriesofCarrots merged commit d319d0d into anza-xyz:master Jun 13, 2024
samkim-crypto pushed a commit to samkim-crypto/agave that referenced this pull request Jul 31, 2024
* Move test fixtures up

* Update test_rewards_computation_and_partitioned_distribution_two_blocks

* Update test_rewards_computation_and_partitioned_distribution_one_block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants