-
Notifications
You must be signed in to change notification settings - Fork 102
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
chore(release): release/1.47.0 #3104
Conversation
* fix: update only current account pending orders * fix: don't update spot prices when window is not active
* chore: update appData module exports to fix the build warning Export AppDataUpdater of module apps/cowswap-frontend/src/modules/appData/updater/AppDataInfoUpdater.tsx was reexported through module apps/cowswap-frontend/src/modules/appData/index.ts while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order. * chore: fix useShouldZeroApprove export build warning * chore: fix build warning with multiple exports of useApproveCallback * chore: use absolute imports Co-authored-by: Alexandr Kazachenko <[email protected]> --------- Co-authored-by: Alexandr Kazachenko <[email protected]>
) * refactor: remove usd amount calc based ony CowSwap quote * refactor: move useHigherUSDValue hook to fiatAmount module * refactor: calculate priceImpact only basing on Coingecko * chore: fix import * chore: rename * chore: remove error field from price impact * chore: fix build * chore: fix build
* refactor: remove usd amount calc based ony CowSwap quote * refactor: move useHigherUSDValue hook to fiatAmount module * refactor: calculate priceImpact only basing on Coingecko * refactor: request fiat amounts only when trade is ready * refactor: deprecate parsePrice * feat: use native price api for fiat amounts * feat: module for fiat prices * chore: remove unused file * chore: simplify code * docs: fiat price module diagram * chore: fix import * chore: rename * chore: remove error field from price impact * chore: fix build * chore: fix build * fix: display price impact unknown warning only when fiat amounts are unknown * chore: rename var * chore: rename const * chore: clean up env files * chore: clean up code * chore: refactor fetchCurrencyFiatPrice * fix: fix UnknownImpactWarning displaying conditions * chore: fix naming * fix: request USDC native price on demand * fix: fix calc * fix: fix errors catching in fetchCurrencyFiatPrice * chore: additional check for zero * chore: fix comment * chore: refactor useFiatValuePriceImpact * chore: rename getCoingeckoFiatPrice * chore: rename usdc -> usd * chore: simplify useUsdPrice * chore: rename fiat -> usd * chore: rename fiat -> usd globally * chore: simplify useTradeUsdAmounts * chore: coingecko fetch rate limitter and backOff * chore: fix imports
* feat: generate the analyze bundle for vite * chore: add command analyze-bundle to root package.json --------- Co-authored-by: Alfetopito <[email protected]>
* fix(trade): clean form amounts after wrap/unwrap * chore: fix test
) * chore: manually split large libs into their own chunks * chore: remove sentry vite plugin It was meant for source maps, but when it's turned on Vercel builds always fail * chore: include elliptic into @MetaMask chunk * chore: add viem to @safe-global chunk
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
I can do "WalletConnect v2" tests |
I'll start with |
| PROD | BARN | This PR | GoerliIn this img we can see the amount of requests to the Gnosis ChainThe highest deviation happened on Gnosis chain. Different pairs/amount have a more uniform amount across the versions. MainnetLittle deviation, mostly good When getting throttled by coingecko, only the new PR is able to present an estimation. When no longer throttled, we can see the values are slightly different |
I'll start now |
I found a few issues with Safe app on Gnosis chain #3105 Moving on to |
Done with Nothing new to report. Will start with |
Done with Found one app crashing issue. Reported on Major section #3105 |
Will now test |
Done with Nothing major. Will now test |
Done testing, nothing new |
* chore: remove duplicated file * chore: work with strings for the price to avoid JS number finicky-ness * chore: do not try to calculate prices when it's < 1 USDC atom * chore: only number without integer part are too small * test: fix unit tests * feat: add new static fromNumber to FractionUtils * feat: create CurrencyAmounts from Fraction instances * chore: use Fraction rather than string or number to store prices * chore: it can be equal to 1 usdc atom * test: fix unit tests
* chore: allow enough balance check to return unknown state * chore: allow undefined in the getPriceQuality fn * chore: refactor repetitive code * chore: add nit to simplify expresssion Co-authored-by: Leandro <[email protected]> * chore: move logic to private function * chore: don't allow to check quotes with same sellToken and buyToken * chore: add private function * fix: add mapping for error in the buttons map --------- Co-authored-by: Leandro <[email protected]>
* chore: uipdate query time to 30s * chore: do not clear intervals because of a change in the update function * fix: make sure we invoke the latest update function * chore: reduce the times the update function is recreated * Remove ref from dependencies Co-authored-by: Leandro <[email protected]> * chore: remove unecesary log --------- Co-authored-by: Leandro <[email protected]>
…ow the currency (#3120)
Summary
Release 1.47.0
Big changes
Small changes
Bug fixes
Technical debt
Test plan
✨ NEW FEATURE ✨
Regular flow testing
Smart contract wallet (Safe):
EOA wallet (Metamask):
WalletConnect v1:
WalletConnect v2:
Account page:
Common (WalletConnect/Metamask):