Closed liyuechun closed 6 years ago
I spent a long time upgrading solc this morning and I am still stuck on the same problem. It has something to do with a callback not being passed to web3.
If anyone else can investigate that would be great! I will take a look again when I can.
@liyuechun Hi! Will you try now? It took me a long time to track it down to a regression in TestRPC. The internal provider doesn't seem to work anymores so you have to run testrpc globally (see README).
Hopefully the regression gets fixed in the future, but this should work for now.
Let me know if it works for you! New version published @ v0.3.1.
liyuechun:~ yuechunli$ solr Welcome to the Solidity REPL!
TypeError: callback is not a function at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/property.js:119:13 at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/requestmanager.js:82:20 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40899:9 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8420:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8940:25) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) liyuechun:~ yuechunli$ clear
liyuechun:~ yuechunli$ solr Welcome to the Solidity REPL!
TypeError: callback is not a function at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/property.js:119:13 at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/requestmanager.js:82:20 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40899:9 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8420:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8940:25) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) liyuechun:~ yuechunli$ solr Welcome to the Solidity REPL!
TypeError: callback is not a function at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/property.js:119:13 at /usr/local/lib/node_modules/solidity-repl/node_modules/web3/lib/web3/requestmanager.js:82:20 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40899:9 at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8420:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8940:25) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8905:16 at async.eachSeries.resultObj.id (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:40881:9) at /usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:11082:16 at replenish (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8945:17) at iterateeCallback (/usr/local/lib/node_modules/solidity-repl/node_modules/ethereumjs-testrpc/build/lib.node.js:8930:17)