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

Add Transaction::raw field #366

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

svyatonik
Copy link
Contributor

Corresponding OE type: https://github.com/openethereum/openethereum/blob/master/rpc/src/v1/types/transaction.rs#L57

I'm not sure whether it should be mandatory (i.e. raw: Bytes), or optional field (raw: Option<Bytes>). I haven't found this field in official ethereum RPC wiki in eth_getTransactionByHash method description. So even though OE seems to always return this field, I've made it optional.

@tomusdrw
Copy link
Owner

tomusdrw commented Jul 7, 2020

I think it's OE-specific thing, so let's keep it as Option. Thanks!

@tomusdrw tomusdrw merged commit f8ed713 into tomusdrw:master Jul 7, 2020
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.

2 participants