Skip to content

Commit e521202

Browse files
committed
tests: speed up twice unit tests evo_dip3_* by generating less blocks for v19
1 parent b18f724 commit e521202

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/evo_deterministicmns_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ struct TestChainV19Setup : public TestChainV19BeforeActivationSetup {
860860

861861
// 5 blocks earlier
862862
TestChainV19BeforeActivationSetup::TestChainV19BeforeActivationSetup() :
863-
TestChainSetup(894, {"-testactivationheight=v19@900"})
863+
TestChainSetup(494, {"-testactivationheight=v19@500"})
864864
{
865865
bool v19_active{DeploymentActiveAfter(m_node.chainman->ActiveChain().Tip(), Params().GetConsensus(),
866866
Consensus::DEPLOYMENT_V19)};

src/test/util/setup_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ TestChainSetup::TestChainSetup(int num_blocks, const std::vector<const char*>& e
384384
/* TestChainBRRBeforeActivationSetup */
385385
{ 497, uint256S("0x0857a9b5db51835b1c828f019f4c664b5fe6c28ac44a6d868436930f832d31e5") },
386386
/* TestChainV19BeforeActivationSetup */
387-
{ 894, uint256S("0x3f031e5cceade15bdfa559ddecb2ccb2b8d17083bdfd871a9d23b17d04b15292") },
387+
{ 494, uint256S("0x44ee5c8a5e5cbd4437d63c54ddc1d40329be811b25c492fa901e11cdf408f905") },
388388
}
389389
};
390390

0 commit comments

Comments
 (0)