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

fix(ape-test): issue where couldn't transact when auto_mine=False #2443

Merged
merged 5 commits into from
Dec 23, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Dec 23, 2024

What I did

I couldnt really send transactions when auto mine was off.
All testing providers should be audited for this.

fixes: #2439

How I did it

early return when auto_mine is False rather than waiting and timing out.
note: some more work is needed for the smart-receipt stuff to be better in 0.9, but this at least allows you to transact with auto_mine is False.

How to verify it

  1. turn auto mine off
  2. make transactions
  3. mine
  4. ensure transactions went through

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey enabled auto-merge (squash) December 23, 2024 20:39
@antazoey antazoey merged commit 68d0df8 into ApeWorX:main Dec 23, 2024
18 checks passed
@antazoey antazoey deleted the fix/auto-mine-send-tx branch December 24, 2024 00:20
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.

All test providers should not wait for receipts when auto_mine is off.
2 participants