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

Explicitly calling chain.mine(1) does not work after disabling auto mining. #1969

Closed
derekpierre opened this issue Mar 22, 2024 · 7 comments
Closed
Labels
category: bug Something isn't working

Comments

@derekpierre
Copy link

Environment information

What went wrong?

Related to #1968 .

After disabling auto-mining (see #1968), it seems that the subsequent use of chain.mine(1) (using the chain fixture) does not work, and instead I have to specifically call w3.provider.ethereum_tester.mine_block() for the mine to actually occur.

Ideally using the chain fixture should be sufficient to force the mining of blocks.

@derekpierre derekpierre added the category: bug Something isn't working label Mar 22, 2024
Copy link

linear bot commented Mar 22, 2024

@antazoey
Copy link
Member

are you using the eth-tester provider that comes with Ape?
I haven't been able to reproduce this one, even after implementing the auto mine functionality.

@derekpierre
Copy link
Author

are you using the eth-tester provider that comes with Ape?

Pretty sure we are. We don't have an explicit dependency on eth-tester.

@derekpierre
Copy link
Author

derekpierre commented Mar 27, 2024

That being said we use an older version of eth-ape - eth-ape==0.6.27. Is that issue possibly fixed in a newer version?

We haven't updated to a newer version of eth-ape because of #1933

@antazoey
Copy link
Member

We haven't updated to a newer version of eth-ape because of #1933

workaround for #1933 #1933 (comment)
btw, this isn't a bug on 0.8 (which isn't released yet but is in the works)

@antazoey
Copy link
Member

still unable to reproduce this.

@antazoey
Copy link
Member

antazoey commented May 1, 2024

please re-open , i dont think this is a problem!

@antazoey antazoey closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants