Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down
Loading