I have created a private network and trying to deploy my contract using Remix IDE. Remix is connected to my private blockchain at port 8545, my coinbase account have 2 ethers and I have set my Gas limit to 21000 but whenever I try to deploy the contract I get an error :
Gas estimation failed
Gas estimation errored with the following message (see below). The
transaction execution will likely fail. Do you want to force sending?gas
required exceed allowance or always failing transaction
When I click on force sending then i get error :
Intrinsic gas too low
And when I increase the gas limit to 21001, I get the error:
exceeds block gas limit