From 88888e2e9908a10dba48115d05008cfcd700df35 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Sat, 28 Dec 2024 00:00:42 +0700 Subject: [PATCH] tests: speed up twice unit tests evo_dip3_* by generating less blocks for v19 --- src/test/evo_deterministicmns_tests.cpp | 2 +- src/test/util/setup_common.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/evo_deterministicmns_tests.cpp b/src/test/evo_deterministicmns_tests.cpp index a22d5179e20a2..04a04fbf687e1 100644 --- a/src/test/evo_deterministicmns_tests.cpp +++ b/src/test/evo_deterministicmns_tests.cpp @@ -860,7 +860,7 @@ struct TestChainV19Setup : public TestChainV19BeforeActivationSetup { // 5 blocks earlier TestChainV19BeforeActivationSetup::TestChainV19BeforeActivationSetup() : - TestChainSetup(894, {"-testactivationheight=v19@900"}) + TestChainSetup(494, {"-testactivationheight=v19@500"}) { bool v19_active{DeploymentActiveAfter(m_node.chainman->ActiveChain().Tip(), Params().GetConsensus(), Consensus::DEPLOYMENT_V19)}; diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 35ee9e0e66e09..b7606f163f3c6 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -384,7 +384,7 @@ TestChainSetup::TestChainSetup(int num_blocks, const std::vector& e /* TestChainBRRBeforeActivationSetup */ { 497, uint256S("0x0857a9b5db51835b1c828f019f4c664b5fe6c28ac44a6d868436930f832d31e5") }, /* TestChainV19BeforeActivationSetup */ - { 894, uint256S("0x3f031e5cceade15bdfa559ddecb2ccb2b8d17083bdfd871a9d23b17d04b15292") }, + { 494, uint256S("0x44ee5c8a5e5cbd4437d63c54ddc1d40329be811b25c492fa901e11cdf408f905") }, } };