Skip to content

Commit

Permalink
Remove simple script distinction
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Mar 8, 2023
1 parent 0e2ce4a commit 09c967c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cardano_node_tests/tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2289,7 +2289,13 @@ def test_script_reference_utxo(
and reference_utxo.reference_script["script"]["type"] == "SimpleScriptV2"
):
pytest.xfail("Reported 'SimpleScriptV2', see node issue #4261")
assert reference_utxo.reference_script["script"]["type"] == script_type_str

# In node >= 1.36.0 it is not necessary to distinguish between MultiSig and Timelock
# scripts, both now report as "SimpleScript".
assert reference_utxo.reference_script["script"]["type"] in (
script_type_str,
"SimpleScript",
)

@allure.link(helpers.get_vcs_link())
@common.PARAM_USE_BUILD_CMD
Expand Down

0 comments on commit 09c967c

Please sign in to comment.