@@ -190,7 +190,8 @@ mod tests {
190
190
crypto_helper:: MKProof ,
191
191
entities:: { Beacon , CardanoTransaction } ,
192
192
signable_builder:: {
193
- CardanoTransactionsSignableBuilder , MockTransactionStore , SignableBuilder ,
193
+ CardanoTransactionsSignableBuilder , MockTransactionRetriever , MockTransactionStore ,
194
+ SignableBuilder ,
194
195
} ,
195
196
} ;
196
197
@@ -355,7 +356,7 @@ mod tests {
355
356
. collect :: < Vec < _ > > ( ) ;
356
357
357
358
let proof = MKProof :: from_leaves ( transactions) . unwrap ( ) ;
358
- let set_proof = CardanoTransactionsSetProof :: new ( transactions_hashes, proof) ;
359
+ let set_proof = CardanoTransactionsSetProof :: new ( transactions_hashes, proof. into ( ) ) ;
359
360
360
361
let verified_transactions_fake = VerifiedCardanoTransactions {
361
362
certificate_hash : "whatever" . to_string ( ) ,
@@ -378,10 +379,12 @@ mod tests {
378
379
mock_transaction_store
379
380
. expect_store_transactions ( )
380
381
. returning ( |_| Ok ( ( ) ) ) ;
382
+ let mock_transaction_retriever = MockTransactionRetriever :: new ( ) ;
381
383
382
384
let cardano_transaction_signable_builder = CardanoTransactionsSignableBuilder :: new (
383
385
Arc :: new ( DumbTransactionParser :: new ( transactions. to_vec ( ) ) ) ,
384
386
Arc :: new ( mock_transaction_store) ,
387
+ Arc :: new ( mock_transaction_retriever) ,
385
388
Path :: new ( "/tmp" ) ,
386
389
Logger :: root ( slog:: Discard , slog:: o!( ) ) ,
387
390
) ;
0 commit comments