I'm trying to deploy a smart contract to the Ethereum mainnet. I paid about $161 in gas fees before the transaction failed, because it ran out of gas.
I tried again with a higher gas limit, and it ran out again.
It seems insane that it'd cost much more than that to deploy a contract. Am I doing something wrong? Or is this normal, and I just need to adjust my expectations of how much I'll be spending to deploy this thing?