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: specialized geth tracer #1739

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

loocapro
Copy link
Contributor

@loocapro loocapro commented Dec 3, 2024

Motivation

Closes #1728 (comment)
closes #1738

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits

/// # Note
///
/// Not all nodes support this call.
async fn debug_trace_transaction_as<Z>(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
async fn debug_trace_transaction_as<Z>(
async fn debug_trace_transaction_as<T>(

&self,
hash: TxHash,
trace_options: GethDebugTracingOptions,
) -> TransportResult<Z>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
) -> TransportResult<Z>
) -> TransportResult<T>

trace_options: GethDebugTracingOptions,
) -> TransportResult<Z>
where
Z: RpcReturn + serde::de::DeserializeOwned;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Z: RpcReturn + serde::de::DeserializeOwned;
T: RpcReturn;

@mattsse mattsse merged commit 2c42b15 into alloy-rs:main Dec 3, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants