Skip to content

Commit 7072bb5

Browse files
Address fmt lints
1 parent 893eec7 commit 7072bb5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

wasm/src/programs/manager/execute.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,13 @@ mod tests {
378378
async fn test_execute_added_program() {
379379
// Generate the private key.
380380
let private_key = PrivateKey::new();
381-
381+
382382
// Download the fee prover.
383383
let fee_prover_uri = Metadata::fee_public().prover;
384384
let fee_proving_key_bytes = reqwest::get(fee_prover_uri).await.unwrap().bytes().await.unwrap().to_vec();
385385
let fee_prover = ProvingKey::from_bytes(&fee_proving_key_bytes).unwrap();
386386
let fee_verifier = VerifyingKey::fee_public_verifier();
387-
387+
388388
// Create the execution.
389389
let transaction = ProgramManager::execute(
390390
&private_key,
@@ -403,7 +403,7 @@ mod tests {
403403
)
404404
.await
405405
.unwrap();
406-
406+
407407
assert!(transaction.is_execute());
408408
}
409409
}

wasm/src/programs/manager/proving_request.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ impl ProgramManager {
7676
let priority_fee_microcredits = (priority_fee_credits * 1_000_000.0) as u64;
7777

7878
// Authorize the main program.
79-
let authorization = authorize!(process, process_inputs!(inputs), program, function_name, private_key, rng, unchecked);
79+
let authorization =
80+
authorize!(process, process_inputs!(inputs), program, function_name, private_key, rng, unchecked);
8081

8182
// Authorize the fee.
8283
let execution_id = authorization.to_execution_id().map_err(|e| e.to_string())?;
@@ -125,7 +126,7 @@ mod tests {
125126
None,
126127
imports,
127128
false,
128-
false
129+
false,
129130
)
130131
.await
131132
.unwrap();

0 commit comments

Comments
 (0)