shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
157 stars 180 forks source link

fix: lending repay fees off by order of magnitude #6802

Closed gomesalexandre closed 2 weeks ago

gomesalexandre commented 2 weeks ago

Description

...for USDC and similar precision assets, as well as potentially a bunch of other places in the future as well if we kept this as-is.

This PR:

  1. Adds a required feeAssetId param to useGetEstimatedFeesQuery args
  2. Renames asset to feeAsset in its queryFn

Pull Request Type

Issue (if applicable)

N/A, fast follow on #6800 targeting one visual bug spotted in release

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Low - see testing

Testing

Engineering

Operations

Screenshots (if applicable)

image image