evmDeposit
and evmDepositAndCall
should quote Uniswap when reverting
#77
Labels
evmDeposit
and evmDepositAndCall
should quote Uniswap when reverting
#77
Right now when
onCall
reverts, these functions swap the deposited amount for the ZRC-20 of the gas token to make a revert back to the connected chain. It's better to quote Uniswap first, and if the amount ends up insufficient, then abort.I don't think it affects the flow, because if the deposited amount is insufficient, the swap would fail, so the amount would be correct.
But still quoting would be an improvement.
The text was updated successfully, but these errors were encountered: