We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43d4a42 commit 64dfb95Copy full SHA for 64dfb95
1 file changed
cardano_node_tests/tests/tests_plutus_v2/test_mint_build.py
@@ -244,6 +244,16 @@ def test_minting_ref_one_token(
244
expected_costs=[script_expected_fee["cost"]],
245
)
246
247
+ ref_size = cluster.g_query.get_ref_script_size(utxo=reference_utxo)["refInputScriptSize"]
248
+ expected_sizes = {
249
+ "v2": 1893,
250
+ "v3": 6,
251
+ }
252
+ expected_size = expected_sizes[plutus_version]
253
+ assert ref_size == expected_size, (
254
+ f"Unexpected reference script size: expected {expected_size}, got {ref_size}"
255
+ )
256
+
257
@allure.link(helpers.get_vcs_link())
258
@common.PARAM_PLUTUS2ONWARDS_VERSION
259
@pytest.mark.smoke
0 commit comments