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

Initial Confirmation ConfirmFuture Implementation #107

Closed
wants to merge 2 commits into from

Conversation

nlordell
Copy link
Contributor

@nlordell nlordell commented Jan 7, 2020

This PR adds a ConfirmFuture implementation similar to confirmations in web3. It addresses some issues that we ran into regarding the confirmations implementation in the web3 crate. Namely, it supports confirmations on Ganache, waiting for a transaction to be mined without extra confirmations on testnet and mainnet nodes, and polling fallback in cases where filters are not supported by the node (Infura over HTTPS for example). More information can be found here #104.

This is the first step in unifying the confirmation API as described in issue #95 and a first chunk of the PR started here #105

Note that this PR just introduces the ConfirmFuture with unit tests and exports it but does not use it anywhere. That will be added in a future PR as it requires some refactoring of the SendFuture.

Test Case

Many new unit tests!!!

@nlordell nlordell requested review from fleupold and bh2smith January 7, 2020 21:50
@nlordell
Copy link
Contributor Author

nlordell commented Jan 8, 2020

Closing as this was superseded by #105

@nlordell nlordell closed this Jan 8, 2020
@nlordell nlordell deleted the confirm_future branch January 8, 2020 19:51
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.

1 participant