Skip to content

bug: nasty error message when attempting to send transaction to a contract that doesn't exist #75

@robinagist

Description

@robinagist

(venv) ROBINs-iMac:ezo robin$ python ezo/start.py send tx TimestampRequestOracle sendTimestampRequest [] -t test

ERROR: tx error: error executing transaction: {'message': 'Attempting to run transaction which calls a contract function, but recipient address 0xCD1A21534E9bD2325c4f0587e89D9909147A1925 is not a contract address', 'code': -32000, 'data': {'stack': 'Error\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/ganache-core/lib/statemanager.js:819:1\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/ganache-core/lib/statemanager.js:259:1\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/ganache-core/lib/blockchain_double.js:992:1\n at e.exports.c.getCode (/Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/ethereumjs-account/index.js:45:1)\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/ganache-core/lib/blockchain_double.js:989:1\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:93:1\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:524:1\n at Object.return (/Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:489:1)\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:289:6\n at e (/Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:519:1)\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:519:1\n at /Applications/Ganache.app/Contents/Resources/app.asar/node_modules/ganache-cli/build/webpack:/ganache/node_modules/merkle-patricia-tree/baseTrie.js:188:1\n at _combinedTickCallback (internal/process/next_tick.js:131:7)\n at process._tickCallback (internal/process/next_tick.js:180:9)', 'name': 'n'}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuglyugly, but not a bug

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions