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.
I deploy a contract with truffle migrate --reset, click on the contracts tab in Ganache, click on one of the deployed contracts, then I get the error below. I believe it is because my truffle contract .json only contains fields for contractName and bytecode, but Ganache is trying to parse additional fields aswell. If this info is not available, Ganache should not attempt to display it.
PLATFORM: win32
GANACHE VERSION: 2.0.1
EXCEPTION:
TypeError: Cannot read property 'id' of undefined
at TruffleContractDecoder (D:\WindowsApps\Ganache_2.0.1.0_x64__zh355ej5cj694\app\resources\app.asar\node_modules\truffle-decoder\dist\interface\contract-decoder.js:61:41)
at Object.forContract (D:\WindowsApps\Ganache_2.0.1.0_x64__zh355ej5cj694\app\resources\app.asar\node_modules\truffle-decoder\dist\interface\index.js:28:12)
at Object.getContractState (D:\WindowsApps\Ganache_2.0.1.0_x64__zh355ej5cj694\app\resources\app.asar\src\truffle-integration\decode.js:13:34)
at process.<anonymous> (D:\WindowsApps\Ganache_2.0.1.0_x64__zh355ej5cj694\app\resources\app.asar\src\truffle-integration\index.js:76:31)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
at emit (internal/child_process.js:768:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
I deploy a contract with
truffle migrate --reset
, click on thecontracts
tab in Ganache, click on one of the deployed contracts, then I get the error below. I believe it is because my truffle contract .json only contains fields forcontractName
andbytecode
, but Ganache is trying to parse additional fields aswell. If this info is not available, Ganache should not attempt to display it.PLATFORM: win32
GANACHE VERSION: 2.0.1
EXCEPTION:
APPLICATION LOG:
The text was updated successfully, but these errors were encountered: