reverting back to same snapshotId causes ganache-core to freeze
See original GitHub issueExpected Behavior
I can call evm_revert
with the same snaphostID multiple times
Current Behavior
It works correctly the first time, but will cause testrpc to freeze up if reverting to the same id a 2nd time
Possible Solution
Steps to Reproduce (for bugs)
- create a snapshot
- rollback to the snapshot you created
- optionally modify state
- rollback to the snapshot you created again
- ganache never returns a response and will not respond to any additional requests
Context
Your Environment
- Version used: 7.0.0-beta.0
- Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
- Server type and version:
- Operating System and version: osx
- Link to your project:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:7 (3 by maintainers)
Top Results From Across the Web
ganache-core | Yarn - Package Manager
This is the core code that powers the Ganache application and the Ganache command line tool. Usage | Options | Implemented Methods |...
Read more >testrpc is now ganache-cli . Use it just as you ... - Kauri crypto
If these native dependencies fail to install on your system `ganache-cli` will automatically fallback to `ganache-core`’s pre-bundled JavaScript build.
Read more >mirrors / trufflesuite / ganache-cli - GitCode - CSDN
Takes no parameters. Returns the integer id of the snapshot created. A snapshot can only be used once. After a successful evm_revert ,...
Read more >Profile for Ethereum - Linknovate
The roots of the current crypto revolution can be traced back all the way to the ... Tornado Cash, causing Circle to freeze...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Documentation has been updated on this to clarify what is occurring. Just awaiting a the PR approval before closing this issue.
Still happening v6.2.5.