I was finally able to get some ether funded and geth/mist working and now i am getting the following error when attempting to deploy my contracts to the rinkeby test network. My project is based on the dotta-license project https://github.com/cryppadotta/dotta-license but i am using the standard migrate and deploy scripts instead of the typescript ones in the project
The contract code couldn't be stored, please check your gas amount.
Ive been googling and it seems that the problem could be literally anything. Can anyone give me some help tracking down the issue?
Truffle.js
module.exports = {
networks: {
development: {
host: 'localhost',
port: 9545,
network_id: '*' // Match any network id
},
rinkeby: {
host: 'localhost', // Connect to geth on the specified
port: 8545,
from: 'xxxxxxxxxxxxxxxx', // default address to use for any transaction Truffle makes during migrations
network_id: 4,
gas: 4700000, // Gas limit used for deploys
gasPrice: 30000000000 // 30 gwei
},
},
};
gas: 4700000
to something larger