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

export poll_latency #1453

Merged
merged 2 commits into from
Oct 17, 2019
Merged

export poll_latency #1453

merged 2 commits into from
Oct 17, 2019

Conversation

m3ngyang
Copy link
Contributor

@m3ngyang m3ngyang commented Sep 18, 2019

What was wrong?

Related to Issue #1435

How was it fixed?

export poll_latency parameter in waitForTransactionReceipt

Todo:

Cute Animal Picture

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

@kclowes
Copy link
Collaborator

kclowes commented Sep 18, 2019

Thank you @m3ngyang! Will you add the new parameter to the docs when you get a chance?

@m3ngyang
Copy link
Contributor Author

@kclowes doc test has been fixed.

@@ -65,7 +65,7 @@ def fill_transaction_defaults(web3, transaction):
return merge(defaults, transaction)


def wait_for_transaction_receipt(web3, txn_hash, timeout=120, poll_latency=0.1):
Copy link
Collaborator

Choose a reason for hiding this comment

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

@pipermerriam is there any reason to keep the defaults here? The only place this method is used is in eth.waitForTransactionReceipt

@kclowes
Copy link
Collaborator

kclowes commented Sep 19, 2019

@m3ngyang I added a newsfragment for the release notes and cleaned up a little bit. Let me know if it doesn't look right. Otherwise, I think this is good to go!

@m3ngyang
Copy link
Contributor Author

@kclowes the patch looks good to me.

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