8,000,000
gas seems to be the maximum gas allowed when deploying a contract on mainnet.
My question is, is it even safe to do so or do I have a bigger risk that my deployment tx fails ? If so I would loose my consumed gas at every failed attempt.
- Do I need to take a margin ? (say
7,500,000
??) - Do I need to put high gas price to be sure to be included in next block in priority?
- I see the latest blocks with
30,000,000
gas limit, so does the8,000,000
limit only applies to deploying contracts ? (if so8,000,000
should be safe !)
gn.