Fix test build failures

This commit is contained in:
Matthew Watt 2023-10-08 19:37:02 -05:00
parent 029b7f0d69
commit 9d7ac07b1a
2 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,7 @@ use tempfile::NamedTempFile;
use tempfile::TempDir; use tempfile::TempDir;
use zcash_client_backend::data_api::chain::ScanSummary; use zcash_client_backend::data_api::chain::ScanSummary;
use zcash_client_backend::data_api::{AccountBalance, WalletRead}; use zcash_client_backend::data_api::{AccountBalance, WalletRead, PoolType};
#[allow(deprecated)] #[allow(deprecated)]
use zcash_client_backend::{ use zcash_client_backend::{
address::RecipientAddress, address::RecipientAddress,
@ -446,6 +446,7 @@ impl<Cache> TestState<Cache> {
GreedyInputSelectorError<BalanceError, ReceivedNoteId>, GreedyInputSelectorError<BalanceError, ReceivedNoteId>,
Infallible, Infallible,
ReceivedNoteId, ReceivedNoteId,
PoolType,
>, >,
> { > {
let params = self.network(); let params = self.network();
@ -479,6 +480,7 @@ impl<Cache> TestState<Cache> {
InputsT::Error, InputsT::Error,
<InputsT::FeeRule as FeeRule>::Error, <InputsT::FeeRule as FeeRule>::Error,
ReceivedNoteId, ReceivedNoteId,
PoolType,
>, >,
> >
where where
@ -513,6 +515,7 @@ impl<Cache> TestState<Cache> {
InputsT::Error, InputsT::Error,
<InputsT::FeeRule as FeeRule>::Error, <InputsT::FeeRule as FeeRule>::Error,
ReceivedNoteId, ReceivedNoteId,
PoolType,
>, >,
> >
where where
@ -579,6 +582,7 @@ impl<Cache> TestState<Cache> {
Infallible, Infallible,
FeeRuleT::Error, FeeRuleT::Error,
ReceivedNoteId, ReceivedNoteId,
PoolType,
>, >,
> >
where where

View File

@ -465,7 +465,7 @@ pub(crate) mod tests {
error::Error, error::Error,
wallet::input_selection::{GreedyInputSelector, GreedyInputSelectorError}, wallet::input_selection::{GreedyInputSelector, GreedyInputSelectorError},
AccountBirthday, Ratio, ShieldedProtocol, WalletCommitmentTrees, WalletRead, AccountBirthday, Ratio, ShieldedProtocol, WalletCommitmentTrees, WalletRead,
WalletWrite, WalletWrite, PoolType,
}, },
decrypt_transaction, decrypt_transaction,
fees::{fixed, zip317, DustOutputPolicy}, fees::{fixed, zip317, DustOutputPolicy},
@ -983,6 +983,7 @@ pub(crate) mod tests {
GreedyInputSelectorError<BalanceError, ReceivedNoteId>, GreedyInputSelectorError<BalanceError, ReceivedNoteId>,
Infallible, Infallible,
ReceivedNoteId, ReceivedNoteId,
PoolType,
>, >,
> { > {
let txid = st.create_spend_to_address( let txid = st.create_spend_to_address(