Thursday, September 13, 2018

Error: Expected parameter 'from' not passed to function.

I faced this problem while running Truffle. This error appears as my laptop restarted.

For me the software Parity Ethereum was running and after closing that it works fine

OR

The solution was to restart the testrpc

killall -9 node
testrpc --networkId 5777

and deploying the contract again. If you face the error again delete the json files and run

truffle compile
truffle deploy

No comments:

Post a Comment