Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(otterscan): add output for TraceEntry #1001

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/rpc-types-trace/src/otterscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct InternalOperation {
/// Custom struct for otterscan `traceTransaction` RPC response
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct TraceEntry {
/// The type of trace entry.
/// The type of the trace entry.
pub r#type: String,
/// The depth of the trace entry.
pub depth: u32,
Expand All @@ -48,6 +48,8 @@ pub struct TraceEntry {
pub value: U256,
/// The input data for the trace.
pub input: Bytes,
/// The output data for the trace.
pub output: Bytes,
}

/// Internal issuance struct for `BlockDetails` struct
Expand Down