From 40ace168681b9b6438adbb41553e58059474dafa Mon Sep 17 00:00:00 2001 From: ChihChengLiang Date: Thu, 22 Feb 2024 00:01:28 +0800 Subject: [PATCH] replace reference to ExecutionTrace --- bus-mapping/src/exec_trace.rs | 2 +- eth-types/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bus-mapping/src/exec_trace.rs b/bus-mapping/src/exec_trace.rs index 41e405c1cd2..b5d49e01666 100644 --- a/bus-mapping/src/exec_trace.rs +++ b/bus-mapping/src/exec_trace.rs @@ -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 { diff --git a/eth-types/src/lib.rs b/eth-types/src/lib.rs index 81ec46560b3..f1f9fb7d5cb 100644 --- a/eth-types/src/lib.rs +++ b/eth-types/src/lib.rs @@ -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); /// 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)]