Skip to content

Commit 60831d9

Browse files
committed
Fixed format
1 parent 08d29f4 commit 60831d9

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

crates/core/src/driver/mod.rs

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ where
139139
&self.deployed_abis,
140140
) {
141141
Ok(tx) => {
142-
log::debug!("Legacy transaction data: {:#?}", tx);
142+
log::debug!("Legacy transaction data: {tx:#?}");
143143
tx
144144
}
145145
Err(err) => {
@@ -281,11 +281,7 @@ where
281281
);
282282

283283
if let Some(Value::String(metadata_json_str)) = &contract.metadata {
284-
log::trace!(
285-
"metadata found for contract {}, {}",
286-
contract_name,
287-
metadata_json_str
288-
);
284+
log::trace!("metadata found for contract {contract_name}, {metadata_json_str}");
289285

290286
match serde_json::from_str::<serde_json::Value>(metadata_json_str) {
291287
Ok(metadata_json) => {
@@ -302,26 +298,17 @@ where
302298
.insert(contract_name.clone(), parsed_abi);
303299
}
304300
Err(err) => {
305-
log::debug!(
306-
"Failed to parse ABI from metadata for {}: {}",
307-
contract_name,
308-
err
309-
);
301+
log::debug!("Failed to parse ABI from metadata for {contract_name}: {err}");
310302
}
311303
}
312304
} else {
313305
log::debug!(
314-
"No ABI found in metadata for contract {}",
315-
contract_name
316-
);
306+
"No ABI found in metadata for contract {contract_name}");
317307
}
318308
}
319309
Err(err) => {
320310
log::debug!(
321-
"Failed to parse metadata JSON string for contract {}: {}",
322-
contract_name,
323-
err
324-
);
311+
"Failed to parse metadata JSON string for contract {contract_name}: {err}");
325312
}
326313
}
327314
} else {

0 commit comments

Comments
 (0)