Skip to content

Commit 09c967c

Browse files
committed
Remove simple script distinction
See IntersectMBO/cardano-node#4763
1 parent 0e2ce4a commit 09c967c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cardano_node_tests/tests/test_scripts.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,13 @@ def test_script_reference_utxo(
22892289
and reference_utxo.reference_script["script"]["type"] == "SimpleScriptV2"
22902290
):
22912291
pytest.xfail("Reported 'SimpleScriptV2', see node issue #4261")
2292-
assert reference_utxo.reference_script["script"]["type"] == script_type_str
2292+
2293+
# In node >= 1.36.0 it is not necessary to distinguish between MultiSig and Timelock
2294+
# scripts, both now report as "SimpleScript".
2295+
assert reference_utxo.reference_script["script"]["type"] in (
2296+
script_type_str,
2297+
"SimpleScript",
2298+
)
22932299

22942300
@allure.link(helpers.get_vcs_link())
22952301
@common.PARAM_USE_BUILD_CMD

0 commit comments

Comments
 (0)