Skip to content

Commit

Permalink
test: Fix restore_wallet tests by providing setting capacity
Browse files Browse the repository at this point in the history
Set proving capacity to `SingleProof`. We are testing whether the wallet
can be restored; not whether stuff still works if the user produces a
weak proof. Weak machines running this test need to be served proofs from
a proof server.
  • Loading branch information
aszepieniec committed Oct 13, 2024
1 parent a3fd237 commit 9d491c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2412,12 +2412,13 @@ mod global_state_tests {

// create tx. utxo_notify_method is a test param.
let (alice_to_bob_tx, maybe_change_utxo) = alice_state_mut
.create_transaction(
.create_transaction_with_prover_capability(
tx_outputs.clone(),
alice_change_key,
change_notification_medium,
alice_to_bob_fee,
seven_months_post_launch,
TxProvingCapability::SingleProof,
)
.await
.unwrap();
Expand Down

0 comments on commit 9d491c6

Please sign in to comment.