For deployments on Polygon Mainnet, the deployment script can increase the transaction fee based on an increase factor and retry the transaction with the same nonce.
There is a maximum number of attempts that must be respected, and if this limit is exceeded, the transaction is considered failed and the script stops.
Proposed Changes