Skip to content

Commit 4cf9c14

Browse files
committed
fix(tests): update deposit field names in test_constitution.py
Updated the field names from delegation_deposit to registration_deposit in test_constitution.py to reflect the correct terminology.
1 parent b6264ea commit 4cf9c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cardano_node_tests/tests/tests_conway/test_constitution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _dereg_stake() -> None:
208208
stake_addr_dereg_certs = [
209209
cluster.g_stake_address.gen_stake_addr_deregistration_cert(
210210
addr_name=f"{temp_template}_addr{i}",
211-
deposit_amt=r[1].delegation_deposit,
211+
deposit_amt=r[1].registration_deposit,
212212
stake_vkey_file=r[0].stake.vkey_file,
213213
)
214214
for i, r in enumerate(pool_users_info)
@@ -242,7 +242,7 @@ def _dereg_stake() -> None:
242242
use_build_cmd=False, # Workaround for CLI issue 942
243243
tx_files=tx_files,
244244
withdrawals=withdrawals,
245-
deposit=-sum(s.delegation_deposit for __, s in pool_users_info),
245+
deposit=-sum(s.registration_deposit for __, s in pool_users_info),
246246
)
247247

248248
dereg_stake_states = [

0 commit comments

Comments
 (0)