Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bridge-ui): fix use max logic #13898

Merged
merged 7 commits into from Jun 6, 2023
Merged

fix(bridge-ui): fix use max logic #13898

merged 7 commits into from Jun 6, 2023

Conversation

jscriptcoder
Copy link
Contributor

Clicking on [max] button was throwing an exception for any token, ETH or ERC20, and never really calculating the max amount minus the gas needed for a transaction.

davidtaikocha
davidtaikocha previously approved these changes Jun 6, 2023
@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #13898 (3fd08b0) into main (fbed474) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main   #13898   +/-   ##
=======================================
  Coverage   51.55%   51.55%           
=======================================
  Files         144      144           
  Lines        3798     3798           
  Branches      333      333           
=======================================
  Hits         1958     1958           
  Misses       1726     1726           
  Partials      114      114           
Flag Coverage Δ *Carryforward flag
bridge-ui 94.31% <ø> (ø)
eventindexer 77.28% <ø> (ø) Carriedforward from bea7c66
protocol 0.00% <ø> (ø) Carriedforward from bea7c66
relayer 59.57% <ø> (ø) Carriedforward from bea7c66
ui 100.00% <ø> (ø) Carriedforward from bea7c66

*This pull request uses carry forward flags. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jscriptcoder jscriptcoder added this pull request to the merge queue Jun 6, 2023
Merged via the queue into main with commit 1abc3ff Jun 6, 2023
9 checks passed
@jscriptcoder jscriptcoder deleted the fix_max_button branch June 6, 2023 17:46
@github-actions github-actions bot mentioned this pull request Jun 6, 2023
dantaik pushed a commit that referenced this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants