Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
replace reference to ExecutionTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Feb 21, 2024
1 parent 488368a commit 40ace16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bus-mapping/src/exec_trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::fmt;

#[derive(Clone, Copy, PartialEq, Eq)]
/// The target and index of an `Operation` in the context of an
/// `ExecutionTrace`.
/// [`GethExecTrace`](eth_types::GethExecTrace).
pub struct OperationRef(pub Target, pub usize);

impl fmt::Debug for OperationRef {
Expand Down
4 changes: 2 additions & 2 deletions eth-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,14 +476,14 @@ impl<'de> Deserialize<'de> for GethExecStep {
}

/// Helper type built to deal with the weird `result` field added between
/// `GethExecutionTrace`s in `debug_traceBlockByHash` and
/// [`GethExecTrace`]s in `debug_traceBlockByHash` and
/// `debug_traceBlockByNumber` Geth JSON-RPC calls.
#[derive(Clone, Debug, Eq, PartialEq, Deserialize)]
#[doc(hidden)]
pub struct ResultGethExecTraces(pub Vec<ResultGethExecTrace>);

/// Helper type built to deal with the weird `result` field added between
/// `GethExecutionTrace`s in `debug_traceBlockByHash` and
/// [`GethExecTrace`]s in `debug_traceBlockByHash` and
/// `debug_traceBlockByNumber` Geth JSON-RPC calls.
#[derive(Clone, Debug, Eq, PartialEq, Deserialize)]
#[doc(hidden)]
Expand Down

0 comments on commit 40ace16

Please sign in to comment.