3

Using the latest version of Mist on Mac OSX, I'm simply trying to deploy the crypto coin recipe straight from the Ethereum website and deploy on the Mist test net.

The code compiles with no errors before deployment, but halts with an "Intrinsic gas too low" error, despite my making no amendments to the code example.

Based on other questions on the same topic, this is about the intrinsic being set too low - but that value is hard coded and cannot be changed in the UI. Another answer given on the forum suggests inserting "Payable" in the contract's functions, after the arguments. Alas, this did not allow me to deploy.

I'm wondering if this is something i'm missing from the tutorial, or a problem with my wallet, or a bug in the code that is not immediately obvious.

https://www.ethereum.org/token

1

The code doesn't seem to have any problem. I have tried deploying the code and it works fab. The one reason may be that the account from which you are trying to deploy the contract doesn't have sufficient ethers. Please verify this.

but that value is hard coded on the mist wallet and cannot be changed in the UI.

No, the value is not hard coded. You can change the fee provided. Just under the contract deployment section- you can see, there is a select fee option. You can increase the gas provided for deploying your contract by moving the SELECT FEE slider towards FASTER end.

  • Thanks for the reply, firstly I confirm I have enough ether. I think the UI would throw an 'insufficient funds in main account' error in that situation.. As far as the fee slider, yes that does amend the Gas Price, but the: Estimated fee consumption 0.01513492 ether (756,746 gas) Provide maximum fee 0.00306002 ether (153,001 gas) remain locked out, and perhaps this is where the problem is. I think it's really odd that my UI, the latest version, with no amendments to the code at all, is throwing an error that you (and presumably the rest of the world!) are not seeing. – Benc93 Feb 14 '17 at 0:04
  • It goes without saying, but I'm not getting this contract to deploy wherever the slider is set. "Intrinsic gas" is a hard coded value and I dont think the transaction fee is related to the problem. I've amended my question to be more clear. – Benc93 Feb 14 '17 at 0:13
  • It's quite odd that the values of Estimated Fee Consumption is locked out and doesn't change with Select Fee slider. Let me upgrade my wallet to v0.8.9 and I'll try to replicate the issue. This may be an issue with latest etherum wallet, coz it works fab with v0.8.6. – Prashant Prabhakar Singh Feb 14 '17 at 5:29
  • If you see clearly, with the change in Select Fee slider your gas price changes. Although the gas supplied remains locked but due to change in gas price, the fee you provide for your transaction varies. (estimated fee = gas*gas price). SO there is no issue with ethereum-wallet – Prashant Prabhakar Singh Feb 14 '17 at 5:55
  • Now coming to your main question can you send me result of command ` eth.getBalance(eth.coinbase)`? – Prashant Prabhakar Singh Feb 14 '17 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.