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
I get the following error when trying to migrate the contracts. I haven't been able to figure out why this is happening.
Running migration: 4_parameterizer_factory.js
Deploying ParameterizerFactory...
... 0xa2cf44175fc7bd144394cdd2e7cb859f10f5df0322e347fa6dd7f6d3287f9135
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: The contract code couldn't be stored, please check your gas amount.
at Object.callback (/usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/contract.js:147:1)
at /usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/method.js:142:1
at /usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/requestmanager.js:89:1
at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:225:1
at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-provider/wrapper.js:134:1
at XMLHttpRequest.request.onreadystatechange (/usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/httpprovider.js:128:1)
at XMLHttpRequestEventTarget.dispatchEvent (/usr/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:64:1)
at XMLHttpRequest._setReadyState (/usr/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:354:1)
at XMLHttpRequest._onHttpResponseEnd (/usr/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:509:1)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/truffle/build/webpack:/~/xhr2/lib/xhr2.js:469:1)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
I tried to increase the gas in the truffle.js file:
I get the following error when trying to migrate the contracts. I haven't been able to figure out why this is happening.
I tried to increase the
gas
in thetruffle.js
file:I came across a thread that mentioned I should comment out the gas line, but that didn't work either.
I tried increasing the
gasLimit
ingenesis.json
But that didn't work either.
In order to deploy, I run the following order of commands:
Any idea why this could be happening?
The text was updated successfully, but these errors were encountered: