Insufficient gas to store the example contract. How do I debug this??

motoaddictmotoaddict Fort Myers, FloridaMember Posts: 52
Trying to store the sample "greeter" contract yields the following geth log message:

"Insufficient gas for creating code. Require 95800 and have 131" (always says I have 131)

... yet I'm loaded:

> eth.getBalance(eth.coinbase)
'30765000000000000000000'

... and there is only one account:

> eth.accounts
['0xab9c3eb33919d8fe35c94644aa4adb73b6aecea0' ]

I simply lifted the sample code for a contract from the web3.js examples and replaced the source with the 'greeter' source.

What am I missing here?

Answers

Sign In or Register to comment.