Investigate Ethereum withdraw fee optimization
Withdraws on Ethereum can get very high, like 100$, while the actual gas cost doesn't reach this amount.
We should investigate if we can make optimization for the withdraw fee for Ethereum specifically.
We cn revisit for example the gas price multiplier used with Ethereum and eventually decrease it since we have gas stability pool mechanism in place to mitigate gas price hike.
The outbound multiplier applied by ZetaClient is
EVMOutboundGasPriceMultiplier = 1.2, which equates to a 20% increase.
This means the net increase is proportional; for a higher gas price, the 20% bump would be higher. But in my opinion 20% does not seem to be a lot.
This assumes that we are referring to v2 withdrawals here.
If there is a v1 withdrawal, the fee is not paid on the smart contract, and there are some additional multipliers
Given EVMOutboundGasPriceMultiplier == 1.2, unless the gasLimit set by the user is far higher than what’s actually needed, the withdrawal won’t end up paying an unexpectedly high gas fee when calling the ZEVM gateway withdraw.
Have we already seen CCTXs that had paid excessive gas fee? @lumtis