You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Accessing a reverted transaction causes a crash of Ganache.
PLATFORM: linux
GANACHE VERSION: 2.1.0
EXCEPTION:
TypeError: Cannot read property 'stack' of undefined
at EventEmitter.<anonymous> (/src/main/main.js:259:30)
at Generator.throw (<anonymous>)
at step (/src/main/main.js:71:191)
at /src/main/main.js:71:402
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
The contract is ERC20, ERC20Detailed from OpenZeppelin. Was deployed, then a call to send(address, amount) will fail with the trace below :
truffle(development)> _i.send(accounts[2], 12)
Thrown:
Error: Returned error: VM Exception while processing transaction: revert
at XMLHttpRequest._onHttpResponseEnd (/home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://xhr2-cookies/dist/xml-http-request.js:318:1)
at XMLHttpRequest._setReadyState (/home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://xhr2-cookies/dist/xml-http-request.js:208:1)
at XMLHttpRequestEventTarget.dispatchEvent (/home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://xhr2-cookies/dist/xml-http-request-event-target.js:34:1)
at XMLHttpRequest.request.onreadystatechange (/home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://web3-providers-http/src/index.js:96:1)
at /home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack:/packages/truffle-provider/wrapper.js:112:1
at /home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://web3-core-requestmanager/src/index.js:140:1
at Object.ErrorResponse (/home/vincent/.nvm/versions/node/v10.16.3/lib/node_modules/truffle/build/webpack://web3-core-helpers/src/errors.js:29:1)
Accessing a reverted transaction causes a crash of Ganache.
PLATFORM: linux
GANACHE VERSION: 2.1.0
EXCEPTION:
APPLICATION LOG:
The text was updated successfully, but these errors were encountered: