Also run llmq-signing.py with spork21 enabled

This commit is contained in:
Alexander Block 2020-03-27 17:29:28 +01:00
parent b212f21c15
commit 5edbeafcea
2 changed files with 7 additions and 0 deletions

View File

@ -21,9 +21,15 @@ class LLMQSigningTest(DashTestFramework):
self.set_dash_test_params(6, 5, fast_dip3_enforcement=True)
self.set_dash_llmq_test_params(5, 3)
def add_options(self, parser):
parser.add_option("--spork21", dest="spork21", default=False, action="store_true",
help="Test with spork21 enabled")
def run_test(self):
self.nodes[0].spork("SPORK_17_QUORUM_DKG_ENABLED", 0)
if self.options.spork21:
self.nodes[0].spork("SPORK_21_QUORUM_ALL_CONNECTED", 0)
self.wait_for_sporks_same()
self.mine_quorum()

View File

@ -69,6 +69,7 @@ BASE_SCRIPTS= [
'listtransactions.py',
'multikeysporks.py',
'llmq-signing.py', # NOTE: needs dash_hash to pass
'llmq-signing.py --spork21', # NOTE: needs dash_hash to pass
'llmq-chainlocks.py', # NOTE: needs dash_hash to pass
'llmq-connections.py', # NOTE: needs dash_hash to pass
'llmq-simplepose.py', # NOTE: needs dash_hash to pass