question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow mining to be completely disabled on startup

See original GitHub issue

For complete determinism in our tests, like where we want to be able to compare generated blocks for strict equality, we currently need to set a high blockTime value and then use evm_mine with our desired timestamp. It’d be nice if we could just specify a blockTime of -1 to disable mining completely to always ensure determinism without having to choose an arbitrary blockTime value.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:20 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
pcowgillcommented, May 3, 2019

Because ganache-cli is frequently used in tests run during CI and determinism is needed there, I propose this issue gets a higher priority than low.

1reaction
davidmurdochcommented, Mar 18, 2022

You need to stop the miner via miner_stop after start up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7-Point Checklist: Prepare your Windows rig for mining - Medium
To permanently disable Windows Defender you will need to use Registry. Detailed instructions with a video tutorial are available in the bottom link....
Read more >
How to disable Start with Windows on min... ⛑️ | minerstat help
You can disable starting application with Windows by opening a Settings section available from the top right corner. If you don't have this...
Read more >
Setup Windows environment for mining - Awesome Miner
Applications configured for automatic startup will not start until the user login to Windows. Enable automatic login to Windows by pressing Windows Key...
Read more >
NiceHash Miner User Guide
Advanced settings are intended for advanced users. You can enable Autostart Mining, Allow Multiple Instances, Run on Startup and many more advanced settings, ......
Read more >
SURFACE MINING CONTROL AND RECLAMATION ACT OF ...
the States with respect to the regulation of surface coal mining operations, ... (d) The Director shall not use either permanently or tempo-....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found