I'm trying to deploy a contract with Remix and Metamask but I get this error every time I'm trying to do it.
creation of ICODeployer errored: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32010,"message":"Transaction cost exceeds current gas limit. Limit: 12487794, got: 13119230. Try decreasing supplied gas."}}'
I don't know why might be the problem since yesterday I tested it and everything was working correctly. I set a lower gas limit in Metamask(below 12487794) but the contract will fail deploying. When I look at the transaction on etherscan, it is same error "Out of gas". This is the link to the transaction.https://kovan.etherscan.io/tx/0x58b73cde126056e9b9cbab251dfdba89d81c1633bc235e8b80f85062c86d70bb
How can I manage this error? I already tried modifying the gas cost in Metamask to a lower value and the gas limit in remix to a higher value but it's not working. Any help would be appreciated!