-
Notifications
You must be signed in to change notification settings - Fork 795
Conversation
e6cb381
to
4f2c57f
Compare
FYI I checked forks and noticed @1wilkens had a WIP version https://github.com/1wilkens/ethers-rs/commit/f2eb53732fca388b0af21a756828e8efab8106d0 -- feel free to review if this PR works for you! |
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.
Awesome, thanks for this.
A few nits and suggestions.
I'm fine with the AsRef<str>
approach.
It'd be nice if you could copy some of the tests as examples to the API functions' docs
4f2c57f
to
8d2b694
Compare
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.
nice work! just small nit around type defs
@gakonst I tried to put more restricted types on the response fields, but I'm not sure whether it'll be worth it: e14d054 There are a few issues at this moment:
Maybe a middle ground could be to keep the returned response types flexible as before (maybe they could be renamed as e.g. |
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.
Awesome!
can we also use Address, U256 etc in the new InternalTransaction and Erc20TokenTransferEven types?
that'll be discovered eventually so we can fix once that happens if there's a serde issue
not familiar with the GENESIS values, but that sounds reasonable |
They are now updated to be like that if that's the preferred way (as opposed to keeping them flexible and having conversions to domain types). |
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
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.
Sick - thank you for bearing with our nits sir.
Sorry didn't even see your mention. Awesome that this is now merged, my branch was indeed early WIP so thanks for finishing this :) |
Motivation
#485
Add etherscan.io account endpoints
Solution
Added them.
PR Checklist