From 034e4b1b2bd0d0989db3094f0de77f2e2ee1c78f Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Thu, 3 Oct 2024 09:14:26 +0200 Subject: [PATCH] fix(tests): fund large amounts of tADA from main faucet Fund large amounts of tADA from the main faucet instead of from the user faucets. User faucets don't need to have that much tADA. --- cardano_node_tests/tests/test_tx_many_utxos.py | 2 +- cardano_node_tests/tests/tests_conway/test_drep.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano_node_tests/tests/test_tx_many_utxos.py b/cardano_node_tests/tests/test_tx_many_utxos.py index 8e529f718..166bfab3c 100644 --- a/cardano_node_tests/tests/test_tx_many_utxos.py +++ b/cardano_node_tests/tests/test_tx_many_utxos.py @@ -52,7 +52,7 @@ def payment_addrs( clusterlib_utils.fund_from_faucet( addrs[0], cluster_obj=cluster, - all_faucets=cluster_manager.cache.addrs_data, + faucet_data=cluster_manager.cache.addrs_data["faucet"], amount=800_000_000_000, ) diff --git a/cardano_node_tests/tests/tests_conway/test_drep.py b/cardano_node_tests/tests/tests_conway/test_drep.py index b4fb2b671..d12a782d2 100644 --- a/cardano_node_tests/tests/tests_conway/test_drep.py +++ b/cardano_node_tests/tests/tests_conway/test_drep.py @@ -1876,7 +1876,7 @@ def _check_records() -> tp.List[blockers.GH]: clusterlib_utils.fund_from_faucet( *drep_users, cluster_obj=cluster, - all_faucets=cluster_manager.cache.addrs_data, + faucet_data=cluster_manager.cache.addrs_data["faucet"], # Add a lot of funds so no action can be ratified without the new DReps amount=10_000_000_000_000, )