Skip to content

Commit

Permalink
chore: fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusKysel committed Feb 27, 2024
1 parent 587734a commit 9848275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion submodules/taraxa-evm
Submodule taraxa-evm updated 0 files
8 changes: 4 additions & 4 deletions tests/rewards_stats_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ TEST_F(RewardsStatsTest, dagBlockRewards) {
HardforksConfig hfc;
hfc.aspen_hf.block_num_part_two = 4;

// Create two reward stats to test before and after aspen hardfork part 2
rewards::Stats pre_aspen_reward_stats(100, HardforksConfig{0, 0, {}, {}, MagnoliaHardfork{0, 0}, AspenHardfork{1, 6}},
db, [](auto) { return 100; });
// Create two reward stats to test before and after aspen hardfork part 1
rewards::Stats pre_aspen_reward_stats(
100, HardforksConfig{0, 0, {}, {}, MagnoliaHardfork{0, 0}, AspenHardfork{6, 999}}, db, [](auto) { return 100; });
rewards::Stats post_aspen_reward_stats(
100, HardforksConfig{0, 0, {}, {}, MagnoliaHardfork{0, 0}, AspenHardfork{1, 4}}, db, [](auto) { return 100; });
100, HardforksConfig{0, 0, {}, {}, MagnoliaHardfork{0, 0}, AspenHardfork{4, 999}}, db, [](auto) { return 100; });

// Create pbft block with 5 dag blocks
auto dag_key1 = dev::KeyPair::create();
Expand Down

0 comments on commit 9848275

Please sign in to comment.