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.

reverting back to same snapshotId causes ganache-core to freeze

See original GitHub issue

Expected 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)

  1. create a snapshot
  2. rollback to the snapshot you created
  3. optionally modify state
  4. rollback to the snapshot you created again
  5. 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:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
balexander4commented, Jan 23, 2019

Documentation has been updated on this to clarify what is occurring. Just awaiting a the PR approval before closing this issue.

1reaction
AlexanderPoschenriedercommented, Jan 4, 2019

Still happening v6.2.5.

Read more comments on GitHub >

github_iconTop 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 >

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