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

Modifications to tx flow #1182

Merged
merged 4 commits into from
Aug 6, 2021
Merged

Modifications to tx flow #1182

merged 4 commits into from
Aug 6, 2021

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Adjust the flow of logic around making a new transaction to reduce the likelihood of a threadlock. Also improves the verbosity with a tx to show when things are still working (particularly when the tx was broadcast but has not yet shown in the mempool).

How I did it

The main thing happening here is removing the use of web3.py's wait_for_transaction_receipt and applying similar logic directly in brownie. This gives us some more control over how everything is handled and allows the improved verbosity.

For the locks, I reduced the amount of logic inside the lock to only broadcasting the actual transaction.

@iamdefinitelyahuman iamdefinitelyahuman merged commit ca6fbed into master Aug 6, 2021
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix/tx-lock branch August 6, 2021 17: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