-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Automine functionality #862
Comments
I approve of this design |
could it be a property with a setter? >>> chain.automine
True
>>> chain.automine = False
# sends rpc request to disable automine if it was enabled the description could read something like
|
That works for me! |
I don't like hiding RPC requests behind properties. It seems like anything using HTTP should happen in a method. However, we abuse this everywhere else in the entire framework so I am good with it for consistency's sake. |
It may not be an RPC request, depending on provider. Like, one could imagine for I think it's important to have it feel consistent, but not entirely sure it should be a property either. |
Good points! One other thing I like about methods vs. properties (in general) is that it is easier to add to them without it being as much of a breaking change. For example, adding an optional kwarg-ument. |
I'm in support of a method for this instead! |
Overview
Properly support disabling and enabling automine
(Sorry I thought there was a ticket for this already but not seeing it and it's been requested by the community)
Specification
EthTester
if possible.Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.
The text was updated successfully, but these errors were encountered: