Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error deploying proxy script deploy_proxies.js #89

Open
skybach opened this issue Sep 14, 2018 · 1 comment
Open

error deploying proxy script deploy_proxies.js #89

skybach opened this issue Sep 14, 2018 · 1 comment

Comments

@skybach
Copy link

skybach commented Sep 14, 2018

truffle exec scripts/deploy_proxies.js failed silently.

Using network 'development'.

RegistryFactory:   0x23e84570f7b28ad0d5e5545d398009194a8734f3

Deploying proxy contracts...

did a truffle debug and got the following error

Parameterizer.sol:

248:     @param _challengeID     the challenge ID to claim tokens for
249:     */
250:     function claimReward(uint _challengeID) public {
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

debug(development:0xb38b118c...)> 

Transaction halted with a RUNTIME ERROR.

This is likely due to an intentional halting expression, like assert(), require() or revert(). It can also be due to out-of-gas exceptions. Please inspect your transaction parameters and contract code to determine the meaning of this error.
@skybach
Copy link
Author

skybach commented Sep 14, 2018

I think it scripts/deploy_proxies.js is running out of gas.
the smart contract might be too huge.

  develop:testrpc   Transaction: 0x245aa0b4345a05a6ad595819ccede330d78b350bbbb1a2b77ab28f866b607735 +0ms
  develop:testrpc   Gas usage: 6441856 +0ms
  develop:testrpc   Block Number: 38 +0ms
  develop:testrpc   Block Time: Fri Sep 14 2018 19:09:09 GMT+0800 (+08) +0ms
  develop:testrpc   Runtime Error: revert +0ms
  develop:testrpc  +0ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant