Consensys/Tokens

Over Gas Limit

Remi-Tuy opened this issue · 4 comments

I have been trying to execute the HumanStandardTokenFactory using Remix & MetaMask on a custom chain.

I keep getting the following message:
callback contain no result Gas required exceeds block gas limit: 800000000

capture

It does say in the comments of the contract that the function 'verifyHumanStandardToken' can cost about 800k gas, therefore my transaction gas limit should be enough.
I have checked my custom chain gas limit in the genesis block and it is 4712388:

eth.getBlock("latest").gasLimit 4712388

I have not modified the template code at all, so what am I missing ?

Not sure what's causing the issues. How much gas are you sending with the call? Where is the 800 million coming from? Are you setting it? If you send over the block gas limit it won't get included into a block.

Updated my issue with a exemple

Still not sure what's the issue unless the code deployment is actually >4.7m gas. If you run tests with gasLimit on testrpc set at 4.7m gas that might help understand. Tests are passing.

This issue is stale. Closing.