Currently safeTxGas sets the exact amount that is used when calling call or delegatecall. It would be nice that it is possible to send more in case no refund is required. This would make it possible to use it in this case as a estimation hint for MetaMask.
Proposal
If (gasPrice == 0) then safeTxGas should be gas()
Currently
safeTxGassets the exact amount that is used when callingcallordelegatecall. It would be nice that it is possible to send more in case no refund is required. This would make it possible to use it in this case as a estimation hint for MetaMask.Proposal
If (gasPrice == 0) then safeTxGas should be gas()