@@ -1762,7 +1762,7 @@ fn create_stake_pool_and_list_pool_ids(#[case] seed: Seed) {
17621762 let decommission_key = Destination :: PublicKey ( standalone_pk) ;
17631763
17641764 let err = wallet
1765- . create_stake_pool_tx_with_vrf_key (
1765+ . create_stake_pool_with_vrf_key (
17661766 DEFAULT_ACCOUNT_INDEX ,
17671767 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
17681768 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -1779,7 +1779,7 @@ fn create_stake_pool_and_list_pool_ids(#[case] seed: Seed) {
17791779 assert_eq ! ( err, WalletError :: VrfKeyMustBeProvided ) ;
17801780
17811781 let stake_pool_transaction = wallet
1782- . create_stake_pool_tx (
1782+ . create_stake_pool (
17831783 DEFAULT_ACCOUNT_INDEX ,
17841784 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
17851785 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -1967,7 +1967,7 @@ fn create_stake_pool_for_different_wallet_and_list_pool_ids(#[case] seed: Seed)
19671967
19681968 // First, try to create the pool using staker_key_hash_dest as the staker address; this should fail.
19691969 let err = wallet1
1970- . create_stake_pool_tx (
1970+ . create_stake_pool (
19711971 DEFAULT_ACCOUNT_INDEX ,
19721972 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
19731973 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -1990,7 +1990,7 @@ fn create_stake_pool_for_different_wallet_and_list_pool_ids(#[case] seed: Seed)
19901990
19911991 // Now use staker_key_dest.
19921992 let stake_pool_transaction = wallet1
1993- . create_stake_pool_tx (
1993+ . create_stake_pool (
19941994 DEFAULT_ACCOUNT_INDEX ,
19951995 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
19961996 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -2008,7 +2008,7 @@ fn create_stake_pool_for_different_wallet_and_list_pool_ids(#[case] seed: Seed)
20082008 let stake_pool_transaction_id = stake_pool_transaction. transaction ( ) . get_id ( ) ;
20092009
20102010 let stake_pool_transaction2 = wallet1
2011- . create_stake_pool_tx_with_vrf_key (
2011+ . create_stake_pool_with_vrf_key (
20122012 DEFAULT_ACCOUNT_INDEX ,
20132013 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
20142014 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -2211,7 +2211,7 @@ fn reset_keys_after_failed_transaction(#[case] seed: Seed) {
22112211 . unwrap ( )
22122212 . last_issued ( ) ;
22132213
2214- let result = wallet. create_stake_pool_tx (
2214+ let result = wallet. create_stake_pool (
22152215 DEFAULT_ACCOUNT_INDEX ,
22162216 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
22172217 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -2426,7 +2426,7 @@ fn create_spend_from_delegations(#[case] seed: Seed) {
24262426 let pool_amount = chain_config. min_stake_pool_pledge ( ) ;
24272427
24282428 let stake_pool_transaction = wallet
2429- . create_stake_pool_tx (
2429+ . create_stake_pool (
24302430 DEFAULT_ACCOUNT_INDEX ,
24312431 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
24322432 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -4727,7 +4727,7 @@ fn decommission_pool_wrong_account(#[case] seed: Seed) {
47274727 let decommission_key = wallet. get_new_address ( acc_1_index) . unwrap ( ) . 1 ;
47284728
47294729 let stake_pool_transaction = wallet
4730- . create_stake_pool_tx (
4730+ . create_stake_pool (
47314731 acc_0_index,
47324732 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
47334733 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -4824,7 +4824,7 @@ fn decommission_pool_request_wrong_account(#[case] seed: Seed) {
48244824 let decommission_key = wallet. get_new_address ( acc_1_index) . unwrap ( ) . 1 ;
48254825
48264826 let stake_pool_transaction = wallet
4827- . create_stake_pool_tx (
4827+ . create_stake_pool (
48284828 acc_0_index,
48294829 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
48304830 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -4914,7 +4914,7 @@ fn sign_decommission_pool_request_between_accounts(#[case] seed: Seed) {
49144914 let decommission_key = wallet. get_new_address ( acc_1_index) . unwrap ( ) . 1 ;
49154915
49164916 let stake_pool_transaction = wallet
4917- . create_stake_pool_tx (
4917+ . create_stake_pool (
49184918 acc_0_index,
49194919 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
49204920 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -5029,7 +5029,7 @@ fn sign_decommission_pool_request_cold_wallet(#[case] seed: Seed) {
50295029 assert_eq ! ( res, ( U31 :: from_u32( 1 ) . unwrap( ) , Some ( "name" . into( ) ) ) ) ;
50305030
50315031 let stake_pool_transaction = hot_wallet
5032- . create_stake_pool_tx (
5032+ . create_stake_pool (
50335033 DEFAULT_ACCOUNT_INDEX ,
50345034 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
50355035 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -5127,7 +5127,7 @@ fn filter_pools(#[case] seed: Seed) {
51275127 let pool_amount = block1_amount;
51285128
51295129 let stake_pool_transaction = wallet1
5130- . create_stake_pool_tx (
5130+ . create_stake_pool (
51315131 DEFAULT_ACCOUNT_INDEX ,
51325132 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
51335133 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -6783,7 +6783,7 @@ fn conflicting_delegation_account_nonce(#[case] seed: Seed) {
67836783 let pool_amount = chain_config. min_stake_pool_pledge ( ) ;
67846784
67856785 let stake_pool_transaction = wallet1
6786- . create_stake_pool_tx (
6786+ . create_stake_pool (
67876787 DEFAULT_ACCOUNT_INDEX ,
67886788 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
67896789 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -7076,7 +7076,7 @@ fn conflicting_delegation_account_nonce_same_wallet(#[case] seed: Seed) {
70767076 let pool_amount = chain_config. min_stake_pool_pledge ( ) ;
70777077
70787078 let stake_pool_transaction = wallet
7079- . create_stake_pool_tx (
7079+ . create_stake_pool (
70807080 DEFAULT_ACCOUNT_INDEX ,
70817081 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
70827082 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -7590,7 +7590,7 @@ fn conflicting_delegation_account_nonce_multiple_inputs(#[case] seed: Seed) {
75907590 let pool_amount = chain_config. min_stake_pool_pledge ( ) ;
75917591
75927592 let stake_pool_transaction = wallet
7593- . create_stake_pool_tx (
7593+ . create_stake_pool (
75947594 DEFAULT_ACCOUNT_INDEX ,
75957595 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
75967596 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
@@ -7865,7 +7865,7 @@ fn conflicting_delegation_account_with_reorg(#[case] seed: Seed) {
78657865 let pool_amount = chain_config. min_stake_pool_pledge ( ) ;
78667866
78677867 let stake_pool_transaction = wallet
7868- . create_stake_pool_tx (
7868+ . create_stake_pool (
78697869 DEFAULT_ACCOUNT_INDEX ,
78707870 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
78717871 FeeRate :: from_amount_per_kb ( Amount :: ZERO ) ,
0 commit comments