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

miner.start() no longer works. #27607

Closed
quakemmo opened this issue Jun 26, 2023 · 5 comments
Closed

miner.start() no longer works. #27607

quakemmo opened this issue Jun 26, 2023 · 5 comments
Labels

Comments

@quakemmo
Copy link

quakemmo commented Jun 26, 2023

System information

Geth version: Geth/v1.12.0-stable-e501b3b0/linux-amd64/go1.20.3
CL client & version: none
OS & Version: Debian 12
Commit hash : github release

Expected behaviour

Starts mining.

Actual behaviour

Error: too many arguments, want at most 0
	at web3.js:6365:9(39)
	at send (web3.js:5099:62(29))
	at <eval>:1:12(2)

> 

Steps to reproduce the behaviour

Run a clique single node network. Type miner.stop() - it works. Type miner.start() - error.

Backtrace

Error: too many arguments, want at most 0
	at web3.js:6365:9(39)
	at send (web3.js:5099:62(29))
	at <eval>:1:12(2)

When submitting logs: please submit them as text and not screenshots.

@lightclient
Copy link
Member

miner.start() no longer accepts "threads" as a parameter as of #27178. So you should call it with no arguments.

@lightclient
Copy link
Member

@jmcook1186 if you have a chance could you update this in the geth docs please?

@quakemmo
Copy link
Author

@lightclient I get the error even when calling miner.start() without any arguments! Please reopen the issue.

@lightclient
Copy link
Member

@quakemmo apologies, I ran miner.start() on master, I see now you are v1.12.0. This was fixed in #27400. Thanks

@taoli-ax
Copy link

I got same error, how to solve this problem? how to start miner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants