You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[validation] Make script error messages uniform for parallel/single validation
This makes the debug output mostly the same for -par=1 and parallel validation runs. Of course,
parallel validation is non-deterministic in what error it may encounter first if there are
multiple issues. Also, the way certain script-related and non-script-related checks are
performed differs between the two modes still, which may result in discrepancies.
Copy file name to clipboardExpand all lines: test/functional/feature_dersig.py
+1-2
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ def set_test_params(self):
51
51
self.noban_tx_relay=True
52
52
self.extra_args= [[
53
53
f'-testactivationheight=dersig@{DERSIG_HEIGHT}',
54
-
'-par=1', # Use only one script thread to get the exact log msg for testing
55
54
]]
56
55
self.setup_clean_chain=True
57
56
self.rpc_timeout=240
@@ -131,7 +130,7 @@ def run_test(self):
131
130
block.hashMerkleRoot=block.calc_merkle_root()
132
131
block.solve()
133
132
134
-
withself.nodes[0].assert_debug_log(expected_msgs=[f'CheckInputScripts on {block.vtx[-1].hash} failed with mandatory-script-verify-flag-failed (Non-canonical DER signature)']):
133
+
withself.nodes[0].assert_debug_log(expected_msgs=[f'Script validation error in block: mandatory-script-verify-flag-failed (Non-canonical DER signature)']):
0 commit comments