1

enter image description here

I am using evm_increaseTime in my tests to move block time but in ganache-cli it shows that it is reverting to snapshot #1. I have not used evm_revert or evm_snapshot. I am attaching screenshot of it.

  • Is it normal?
  • what is the reason behind it?
  • If you're using Truffle test suite then yes - at the end of each test (or possibly at the beginning of each test), it calls evm_revert. You can open Truffle source code and view it for yourself (where you can also disable it if you're interested). – goodvibration Oct 29 '18 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.