diff --git a/submodules/taraxa-evm b/submodules/taraxa-evm index c012ac920d..c12da5dcc7 160000 --- a/submodules/taraxa-evm +++ b/submodules/taraxa-evm @@ -1 +1 @@ -Subproject commit c012ac920d672219c6ec45342512562c58805ccd +Subproject commit c12da5dcc75e743fefe14aed99b98055695775c1 diff --git a/tests/rewards_stats_test.cpp b/tests/rewards_stats_test.cpp index 03e2ca7a72..73b36efb5f 100644 --- a/tests/rewards_stats_test.cpp +++ b/tests/rewards_stats_test.cpp @@ -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();