web icon indicating copy to clipboard operation
web copied to clipboard

Asset in "Not enough <asset> to cover gas" translation should be programmatic on swapper

Open gomesalexandre opened this issue 2 years ago • 0 comments

Overview

Currently, we show a "Not enough " to cover gas, which is always the sell asset

However, this is only valid in cases where the gas is covered by the sell asset i.e CoW and Thor swaps - 0x trades should always show the native asset

We should implement some logic to make the translation programmatic on the current swapper

References and additional details

https://github.com/shapeshift/web/pull/3109

Acceptance Criteria

  • The "Not enough " to cover gas correctly display the asset for which we're missing gas

Need By Date

No response

Screenshots/Mockups

image

Estimated effort

No response

gomesalexandre avatar Oct 21 '22 12:10 gomesalexandre