OutlierVentures / BuyCoPoc

BuyCo.io Proof of Concept on an Ethereum blockchain
Apache License 2.0
0 stars 1 forks source link

Add proposal: "Insufficient funds for gas * price + value", while acct balance is 10 ether #71

Open AronVanAmmers opened 8 years ago

AronVanAmmers commented 8 years ago

When adding a proposal I get the error "Insufficient funds for gas * price + value".

2016-02-13 21_25_16-buyco proof of concept

The user has a single blockchain account 0x1d81e8e5d60a5a4d812a9d3a84f0eb1ff36a0ff1 which is used for this tx.

web3.eth.getBalance("0x1d81e8e5d60a5a4d812a9d3a84f0eb1ff36a0ff1").toNumber()
10476211699622871000

The gas limit of 2500000 * gas price is about 100 times less than that.

AronVanAmmers commented 8 years ago

Increasing the amount of funds in the account does solve it. I was planning to lower the gas price on our test blockchain anyway, so then it won't happen again.

It would be good to have an explanation in terms of numbers however.