This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 814
Ganache 2.1 - "out of gas" Transactions no longer debuggable #1429
Comments
What version of Ganache? And can you paste Ganache's Logs output here? |
Version: Ganache 2.1.0 Got some more infos. First i was running 3 tests in a row, with one of them beeing the test of the looping contract. Then i just ran the looping test alone and everything is fine. Then i went back running 3 tests in row and the problem appeard again, but not for the out of gas transaction but for another one. I paste the log for running the 3 tests, at the end you can see that there are 2 transaction that should be in the same block, but as stated there is only one transaction in the last block, but not necessarily the out of gas transaction.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I wrote and deployed a contract with an infinite loop using truffle.
I wrote a test, to test and debug the looping transaction (for education purpose).
In an older version (can not tell which) of ganache the transaction (correctly running out of gas) was debuggable with truffle. In version 2.1 the transaction is not shown in ganache (its shown in the log but does not appear in the blocks) and truffle can't find the transaction when trying to debug it (although it's stated otherwise in the documentation). Is this a bug or some kind of wrong configuration on my side?
I linked my truffle project to ganache and i tried both options for "ERROR ON TRANSACTION FAILURE" in ganache. I tried "automine" and "no automine". Same behaviour.
The text was updated successfully, but these errors were encountered: