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

Async eth.get_balance, eth.get_code, eth.get_transaction_count #2056

Merged
merged 6 commits into from
Jul 21, 2021

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jul 1, 2021

What was wrong?

Added async eth.get_balance, eth.get_code, and eth.get_transaction_count (all methods that use the block_id_munger).

Related to Issue #1413

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes kclowes changed the title [WIP] Async eth.get_balance, eth.get_code, eth.get_transaction_count Async eth.get_balance, eth.get_code, eth.get_transaction_count Jul 16, 2021
@kclowes kclowes requested a review from fselmo July 16, 2021 23:09
@@ -40,8 +40,6 @@
from web3 import Web3 # noqa: F401
from web3.module import Module # noqa: F401

Munger = Callable[..., Any]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change just to simplify it a bit since this is pretty general anyhow?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, I don't remember why I did this. Will put it back!

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kclowes LGTM!

@kclowes kclowes merged commit c2048f1 into ethereum:master Jul 21, 2021
@kclowes kclowes deleted the aeth-get-balance branch July 21, 2021 16:30
@minhvutnt
Copy link

my code w3.eth.get_code(account.address)) return b'' (empty)
with account.address = 0xBeddf5c6d76B5eb2c615c31d9aeC4fE4d334380e
What happend?

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.

3 participants