Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Jan 16, 2025
1 parent e15cc08 commit 266616f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion substrate/frame/revive/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub trait Tracing {
/// Called when a contract call terminates with an error
fn exit_child_span_with_error(&mut self, error: DispatchError, gas_left: Weight);

/// Takes the traces collected by the tracer and resets them.
/// Collects and returns the traces recorded by the tracer, then clears them.
fn collect_traces(&mut self) -> Traces;
}

Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/revive/src/evm/api/debug_rpc_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl<'de> Deserialize<'de> for TracerConfig {
}

#[test]
fn test_deserialize_call_tracer_with_logs_true() {
fn test_tracer_config_serialization() {
let tracers = vec![
(r#"{"tracer": "callTracer"}"#, TracerConfig::CallTracer { with_logs: true }),
(
Expand Down

0 comments on commit 266616f

Please sign in to comment.