diff --git a/cardano_node_tests/tests/tests_plutus/test_spend_negative_raw.py b/cardano_node_tests/tests/tests_plutus/test_spend_negative_raw.py index 61ff94dec..046c82f20 100644 --- a/cardano_node_tests/tests/tests_plutus/test_spend_negative_raw.py +++ b/cardano_node_tests/tests/tests_plutus/test_spend_negative_raw.py @@ -164,7 +164,10 @@ def test_invalid_guessing_game( assert err, "Expected failure did not happen" with common.allow_unstable_error_messages(): - assert "ValidationTagMismatch (IsValid True)" in err, err + assert ( + "ValidationTagMismatch Phase2Valid" in err # In cardano-node >= 11.1.0 + or "ValidationTagMismatch (IsValid True)" in err + ), err @allure.link(helpers.get_vcs_link()) @common.PARAM_PLUTUS_VERSION @@ -1027,7 +1030,10 @@ def test_wrong_value_inside_range( cluster.g_transaction.submit_tx_bare(tx_file=tx_signed) exc_value = str(excinfo.value) with common.allow_unstable_error_messages(): - assert "ValidationTagMismatch (IsValid True)" in exc_value, exc_value + assert ( + "ValidationTagMismatch Phase2Valid" in exc_value # In cardano-node >= 11.1.0 + or "ValidationTagMismatch (IsValid True)" in exc_value + ), exc_value @allure.link(helpers.get_vcs_link()) @hypothesis.given(redeemer_value=st.integers(max_value=MIN_INT_VAL - 1)) @@ -1237,7 +1243,10 @@ def test_wrong_type( cluster.g_transaction.submit_tx_bare(tx_file=tx_signed) exc_value = str(excinfo.value) with common.allow_unstable_error_messages(): - assert "ValidationTagMismatch (IsValid True)" in exc_value, exc_value + assert ( + "ValidationTagMismatch Phase2Valid" in exc_value # In cardano-node >= 11.1.0 + or "ValidationTagMismatch (IsValid True)" in exc_value + ), exc_value @allure.link(helpers.get_vcs_link()) @hypothesis.given(redeemer_value=st.binary(min_size=65))