From ce2203c4d1ec0c4ff96ce79d5f95a020de655ec5 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Mon, 11 Dec 2023 23:49:36 +0100 Subject: [PATCH] Fix test that updates commitee action It was missing deposit handling and previous action args. --- cardano_node_tests/tests/tests_conway/test_committee.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cardano_node_tests/tests/tests_conway/test_committee.py b/cardano_node_tests/tests/tests_conway/test_committee.py index ffb10a4c5..36955a5e4 100644 --- a/cardano_node_tests/tests/tests_conway/test_committee.py +++ b/cardano_node_tests/tests/tests_conway/test_committee.py @@ -203,6 +203,10 @@ def test_update_commitee_action( deposit_amt = cluster.conway_genesis["govActionDeposit"] anchor_url = "http://www.cc-update.com" anchor_data_hash = "5d372dca1a4cc90d7d16d966c48270e33e3aa0abcb0e78f0d5ca7ff330d2245d" + prev_action_rec = governance_utils.get_prev_action( + cluster_obj=cluster, action_type=governance_utils.PrevGovActionIds.COMMITTEE + ) + update_action = cluster.g_conway_governance.action.update_committee( action_name=temp_template, deposit_amt=deposit_amt, @@ -210,6 +214,8 @@ def test_update_commitee_action( anchor_data_hash=anchor_data_hash, quorum="2/3", add_cc_members=cc_members, + prev_action_txid=prev_action_rec.txid, + prev_action_ix=prev_action_rec.ix, deposit_return_stake_vkey_file=pool_user.stake.vkey_file, ) @@ -229,6 +235,7 @@ def test_update_commitee_action( submit_method=submit_method, use_build_cmd=use_build_cmd, tx_files=tx_files, + deposit=deposit_amt, ) out_utxos = cluster.g_query.get_utxo(tx_raw_output=tx_output)