I am following this great tutorial from Ed Zynda. I started
testrpc and tried to deploy the FuncToken.sol to a Web3 Provider. I managed to connect to the local RPC (have to change protocol from https to http: in order to do it though).
And it prompted me with the error message as follows:
creation of browser/BasicToken.sol:BasicToken pending... creation of browser/BasicToken.sol:BasicToken errored: Error: base fee exceeds gas limit at runCall (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:70875:17) at /usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:12643:24 at replenish (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:9736:17) at iterateeCallback (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:9721:17) at /usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:9696:16 at /usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:12648:13 at /usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:67073:16 at replenish (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:67020:25) at /usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:67029:9 at eachLimit (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:66953:36)
I double checked the account that I was using to deploy, it is within the local test network with a balance of 100 ethers left. I verified it both in Metamask and Remix.
Can you help me understand what I did wrong? At the same time, what does
base fee and
gas limit mean in this case (I manually changed the Gas Limit to be 3e12 from 3e6 and it did not help)?