OutlierVentures / BuyCoPoc

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

Development blockchain node gives "Exceeds block gas limit" on contract deployment #4

Closed AronVanAmmers closed 8 years ago

AronVanAmmers commented 8 years ago

The development blockchain node at http://blockstars.io:9001 currently gives an error "Exceeds block gas limit" when the ProposalRegistry contract is deployed. This worked well before.

Hypothesis: the gas limit has decreased after a certain block number. Up to now 2500 blocks have been generated.

We use the Embark framework to start the blockchain. I have heard other people in the Embark community mention gas problems. That could be about this.

AronVanAmmers commented 8 years ago

To fix it for us now, just deleting the blockchain data and restarting the node should suffice. This will clear the data of the live development version, so a new contract with test data should be deployed and configured.

AronVanAmmers commented 8 years ago

Indeed deleting the blockchain data dir solved it for now. Will have to solve more reliably, of course the blockchain should remain usable even when it grows longer.