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

Raise external timeout #1070

Merged
merged 2 commits into from
Sep 24, 2018
Merged

Conversation

carver
Copy link
Collaborator

@carver carver commented Sep 21, 2018

What was wrong?

We raise Timeout exception from w3.eth.waitForTransactionReceipt(), but the exception is in a private _utils module.

How was it fixed?

  • Add new TimeExhausted timeout.
  • Update a few usages of waitForTransactionReceipt
  • Explicitly test the timeout exception raised

Cute Animal Picture

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

@carver
Copy link
Collaborator Author

carver commented Sep 24, 2018

This shouldn't be backported to v4, because the change in exception is not backwards compatible. Linking to #722 for future documentation needs.

@carver carver merged commit 6bb75f8 into ethereum:master Sep 24, 2018
@carver carver deleted the raise-external-timeout branch September 24, 2018 21:42
@pipermerriam
Copy link
Member

@carver could we backport to v4 if we adjusted the utils timeout error to inherit from the built-in?

@carver
Copy link
Collaborator Author

carver commented Sep 25, 2018

The only problem I see is that we would have a utils exception import from a non-utils package.

@pipermerriam
Copy link
Member

Ignore me, I didn't actually look at the pull request code. Doesn't seem worth the complexity.

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