Skip to content

Commit 3d19e18

Browse files
ci(release): publish latest release
1 parent b4553c2 commit 3d19e18

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

Diff for: RELEASE

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmXRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR`
3-
- CIDv1: `bafybeiehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i`
2+
- CIDv0: `QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX`
3+
- CIDv1: `bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeiehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i.ipfs.dweb.link/
14-
- https://bafybeiehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i.ipfs.cf-ipfs.com/
15-
- [ipfs://QmXRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR/](ipfs://QmXRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR/)
13+
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.dweb.link/
14+
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.cf-ipfs.com/
15+
- [ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/](ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/)
1616

17-
### 5.66.1 (2025-01-21)
17+
### 5.66.2 (2025-01-22)
1818

1919

2020
### Bug Fixes
2121

22-
* **web:** 01 21 fix web improve lp logging prod (#15357) df0e967
22+
* **web:** 01 22 fix web use on chain currency balance for increase create prod (#15380) 2ee9767
2323

2424

Diff for: VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.66.1
1+
web/5.66.2

Diff for: apps/web/src/pages/Pool/Positions/create/hooks.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { useIsPoolOutOfSync } from 'hooks/useIsPoolOutOfSync'
1313
import { PoolState, usePool } from 'hooks/usePools'
1414
import { useSwapTaxes } from 'hooks/useSwapTaxes'
1515
import { PairState, useV2Pair } from 'hooks/useV2Pairs'
16-
import { useCurrencyBalances } from 'lib/hooks/useCurrencyBalance'
1716
import tryParseCurrencyAmount from 'lib/utils/tryParseCurrencyAmount'
1817
import { useCreatePositionContext, usePriceRangeContext } from 'pages/Pool/Positions/create/CreatePositionContext'
1918
import {
@@ -53,6 +52,7 @@ import { useUrlContext } from 'uniswap/src/contexts/UrlContext'
5352
import { useGetPoolsByTokens } from 'uniswap/src/data/rest/getPools'
5453
import { useEnabledChains } from 'uniswap/src/features/chains/hooks/useEnabledChains'
5554
import { useSupportedChainId } from 'uniswap/src/features/chains/hooks/useSupportedChainId'
55+
import { useOnChainCurrencyBalance } from 'uniswap/src/features/portfolio/api'
5656
import { useUSDCValue } from 'uniswap/src/features/transactions/swap/hooks/useUSDCPrice'
5757
import { getParsedChainId } from 'utils/chainParams'
5858

@@ -350,7 +350,8 @@ export function useDepositInfo(state: UseDepositInfoProps): DepositInfo {
350350
const { protocolVersion, address, token0, token1, exactField, exactAmounts, deposit0Disabled, deposit1Disabled } =
351351
state
352352

353-
const [token0Balance, token1Balance] = useCurrencyBalances(address, [token0, token1])
353+
const { balance: token0Balance } = useOnChainCurrencyBalance(token0, address)
354+
const { balance: token1Balance } = useOnChainCurrencyBalance(token1, address)
354355

355356
const [independentToken, dependentToken] = exactField === PositionField.TOKEN0 ? [token0, token1] : [token1, token0]
356357
const independentAmount = tryParseCurrencyAmount(exactAmounts[exactField], independentToken)

0 commit comments

Comments
 (0)