Skip to content

Commit

Permalink
Merge pull request #2103 from input-output-hk/fix_update_commitee_action
Browse files Browse the repository at this point in the history
Fix test that updates commitee action
  • Loading branch information
mkoura authored Dec 11, 2023
2 parents 83a8a4a + ce2203c commit b9900ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cardano_node_tests/tests/tests_conway/test_committee.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,19 @@ 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,
anchor_url=anchor_url,
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,
)

Expand All @@ -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)
Expand Down

0 comments on commit b9900ff

Please sign in to comment.