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

Make Trace struct compatible with parity-ethereum rpc #213

Merged
merged 1 commit into from Apr 12, 2019
Merged

Make Trace struct compatible with parity-ethereum rpc #213

merged 1 commit into from Apr 12, 2019

Conversation

ghost
Copy link

@ghost ghost commented Apr 12, 2019

The current struct errors when de serializing traces for FailedCalls or FailedCreates because the result property isn't optional. This type also isn't capturing the error field getting sent by the Ethereum node.

Here is the relevant type/serialization logic on the parity-ethereum side:
https://github.com/paritytech/parity-ethereum/blob/master/rpc/src/v1/types/trace.rs#L505-L509

@tomusdrw tomusdrw merged commit 8b488f0 into tomusdrw:master Apr 12, 2019
@tomusdrw
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant