Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

add json rpc bindings for eth_getCode #15

Merged
merged 1 commit into from
Jun 15, 2020
Merged

add json rpc bindings for eth_getCode #15

merged 1 commit into from
Jun 15, 2020

Conversation

roynalnaruto
Copy link
Collaborator

Motivation

Hello @gakonst. I have just started browsing through this repository, trying to understand the implementation structure.

While doing this and getting my local machine setup, I found a TODO in the provider's JSON RPC bindings, and it was a quick way to get up and running.

I am exploring the issues you've added, and hopefully I can take up some of them.

Solution

The addition is quite similar to get_balance or get_transaction_count. I am not sure if the lines I added in ethers/src/lib.rs add any value, because the existing docs for get_block already solve that purpose.

@gakonst gakonst merged commit 5d92e72 into gakonst:master Jun 15, 2020
@gakonst
Copy link
Owner

gakonst commented Jun 15, 2020

Merged! Thanks.

@gakonst gakonst deleted the func/eth-get-code branch June 15, 2020 20:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants