-
Notifications
You must be signed in to change notification settings - Fork 72
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(trace/parity): add trace creation method #237
Conversation
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smol nit
src/tracing/types.rs
Outdated
/// Returns the creation method of the create callkind. | ||
impl Into<CreationMethod> for CallKind { | ||
fn into(self) -> CreationMethod { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's flip this to a from impl
@@ -397,6 +397,7 @@ impl CallTraceNode { | |||
value: self.trace.value, | |||
gas: self.trace.gas_limit, | |||
init: self.trace.data.clone(), | |||
creation_method: self.kind().into(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this is only reachable for create
Signed-off-by: jsvisa <delweng@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, pending alloy bump today
waiting for alloy-rs/alloy#1621