Skip to content

Commit e6098ac

Browse files
authored
chore: reduce some more traces (#11465)
1 parent 11440f4 commit e6098ac

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

crates/cheatcodes/src/json.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,6 @@ pub(super) fn canonicalize_json_path(path: &str) -> Cow<'_, str> {
502502
/// The function is designed to run recursively, so that in case of an object
503503
/// it will call itself to convert each of it's value and encode the whole as a
504504
/// Tuple
505-
#[instrument(target = "cheatcodes", level = "trace", ret)]
506505
pub(super) fn json_value_to_token(value: &Value) -> Result<DynSolValue> {
507506
match value {
508507
Value::Null => Ok(DynSolValue::FixedBytes(B256::ZERO, 32)),

crates/cheatcodes/src/string.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ where
166166
}
167167
}
168168

169-
#[instrument(target = "cheatcodes", level = "debug", skip(ty), fields(%ty), ret)]
170169
pub(super) fn parse_value(s: &str, ty: &DynSolType) -> Result<DynSolValue> {
171170
match ty.coerce_str(s) {
172171
Ok(value) => Ok(value),

crates/cli/src/utils/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ fn env_filter() -> tracing_subscriber::EnvFilter {
9898
"rustls=off",
9999
// Tokio
100100
"mio=off",
101+
// Too verbose
102+
"jsonpath_lib=off",
101103
];
102104
let mut filter = tracing_subscriber::EnvFilter::from_default_env();
103105
for &directive in DEFAULT_DIRECTIVES {

0 commit comments

Comments
 (0)