TestValidator public interface cleanup
This commit is contained in:
@ -957,7 +957,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run();
|
||||
} = TestValidator::with_no_fee();
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
test_process_distribute_tokens_with_client(&client, alice, None);
|
||||
@ -975,7 +975,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run();
|
||||
} = TestValidator::with_no_fee();
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
test_process_distribute_tokens_with_client(&client, alice, Some(sol_to_lamports(1.5)));
|
||||
@ -993,7 +993,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run();
|
||||
} = TestValidator::with_no_fee();
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
test_process_distribute_stake_with_client(&client, alice);
|
||||
@ -1315,7 +1315,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run_with_fees(fees);
|
||||
} = TestValidator::with_custom_fee(fees);
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
let sender_keypair_file = tmp_file_path("keypair_file", &alice.pubkey());
|
||||
@ -1417,7 +1417,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run_with_fees(fees);
|
||||
} = TestValidator::with_custom_fee(fees);
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
|
||||
@ -1546,7 +1546,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run_with_fees(fees);
|
||||
} = TestValidator::with_custom_fee(fees);
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
|
||||
@ -1672,7 +1672,7 @@ mod tests {
|
||||
alice,
|
||||
ledger_path,
|
||||
..
|
||||
} = TestValidator::run_with_fees(fees);
|
||||
} = TestValidator::with_custom_fee(fees);
|
||||
let url = get_rpc_request_str(leader_data.rpc, false);
|
||||
let client = RpcClient::new_with_commitment(url, CommitmentConfig::recent());
|
||||
|
||||
|
Reference in New Issue
Block a user