I try to deploy a big contract with 800 lines on private network of geth,but the geth report an error: The contract code couldn't be stored, please check your gas amount. undefined
This is my document of creation block :
{
"config": {
"chainId": 10,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"coinbase" : "0x0000000000000000000000000000000000000000",
"difficulty" : "0x20000",
"extraData" : "",
"gasLimit" : "0xffffffff",
"nonce" : "0x0000000000000042",
"mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"timestamp" : "0x00",
"alloc": {}
}
This is the method I initialize the network:
geth init "//home/lsg/Desktop/LSG/./genesis.json" --datadir "//home/lsg/Desktop/LSG/./DN"
This is the method I start geth:
geth --identity "LSG"
--rpc
--rpccorsdomain "*"
--datadir "//home/lsg/Desktop/LSG/./DN"
--port 30303
--nodiscover
I can deploy small contract with 400 lines successfully .But the geth report a error: "The contract code couldn't be stored, please check your gas amount."when I deploy my big contract,
--rpcapi "db,eth,net,web3"
--networkid 999 console 2>>//home/lsg/Desktop/LSG/DN.log
Did I make a mistake or does geth not support big contract?