Skip to content

Commit f535511

Browse files
ci(release): publish latest release
1 parent 173a940 commit f535511

File tree

5 files changed

+19
-13
lines changed

5 files changed

+19
-13
lines changed

RELEASE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmUiycg43tn8V8uqKcRMeSFZPYnX9qCHFK88Bg1YznJt5F`
3-
- CIDv1: `bafybeic63zdn3mceqpboz4wckzubcretvndr7bv472afnxifpgpqdoly7i`
2+
- CIDv0: `QmYREqoj99GMazdc52JCdQJw1Ug1ts8dbYoGDXfDz67c9y`
3+
- CIDv1: `bafybeievyhevt62sptnx457gsa2cbtbymrwidswyx5jeefp5cgv2oyri2q`
44

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

@@ -10,9 +10,9 @@ 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://bafybeic63zdn3mceqpboz4wckzubcretvndr7bv472afnxifpgpqdoly7i.ipfs.dweb.link/
14-
- [ipfs://QmUiycg43tn8V8uqKcRMeSFZPYnX9qCHFK88Bg1YznJt5F/](ipfs://QmUiycg43tn8V8uqKcRMeSFZPYnX9qCHFK88Bg1YznJt5F/)
13+
- https://bafybeievyhevt62sptnx457gsa2cbtbymrwidswyx5jeefp5cgv2oyri2q.ipfs.dweb.link/
14+
- [ipfs://QmYREqoj99GMazdc52JCdQJw1Ug1ts8dbYoGDXfDz67c9y/](ipfs://QmYREqoj99GMazdc52JCdQJw1Ug1ts8dbYoGDXfDz67c9y/)
1515

16-
### 5.118.2 (2025-11-15)
16+
### 5.118.3 (2025-11-17)
1717

1818

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.118.2
1+
web/5.118.3

apps/web/src/components/Pools/PoolDetails/PoolDetailsStatsButtons.test.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,20 @@ describe('PoolDetailsStatsButton', () => {
151151
expect(screen.getByTestId('pool-details-close-button')).toBeVisible()
152152
})
153153

154-
it('clicking add liquidity goes to correct url', async () => {
154+
it('clicking add liquidity goes to correct url with default fee tier', async () => {
155155
render(<PoolDetailsStatsButtons {...mockPropsTokensReversed} />)
156156

157157
await userEvent.click(screen.getByTestId(TestID.PoolDetailsAddLiquidityButton))
158158
expect(globalThis.window.location.href).toContain(
159159
'/positions/create/v3?currencyA=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&currencyB=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&chain=ethereum',
160160
)
161161
})
162+
163+
it('clicking add liquidity goes to correct url with custom fee tier', async () => {
164+
render(<PoolDetailsStatsButtons {...mockPropsTokensReversed} feeTier={6200} tickSpacing={11} isDynamic={true} />)
165+
await userEvent.click(screen.getByTestId(TestID.PoolDetailsAddLiquidityButton))
166+
expect(globalThis.window.location.href).toContain(
167+
'/positions/create/v3?currencyA=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&currencyB=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&chain=ethereum&fee=%7B%22feeAmount%22%3A6200%2C%22tickSpacing%22%3A11%2C%22isDynamic%22%3Atrue%7D',
168+
)
169+
})
162170
})

apps/web/src/components/Pools/PoolDetails/PoolDetailsStatsButtons.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ interface PoolDetailsStatsButtonsProps {
7777
token0?: GraphQLApi.Token
7878
token1?: GraphQLApi.Token
7979
feeTier?: number
80+
tickSpacing?: number
8081
hookAddress?: string
8182
isDynamic?: boolean
8283
protocolVersion?: GraphQLApi.ProtocolVersion
@@ -146,6 +147,7 @@ export function PoolDetailsStatsButtons({
146147
token0,
147148
token1,
148149
feeTier,
150+
tickSpacing,
149151
hookAddress,
150152
isDynamic,
151153
protocolVersion,
@@ -180,15 +182,10 @@ export function PoolDetailsStatsButtons({
180182
queryParams.set('currencyA', currency0Address)
181183
queryParams.set('currencyB', currency1Address)
182184
queryParams.set('chain', chainUrlParam)
183-
if (feeTier) {
184-
queryParams.set('feeTier', feeTier.toString())
185-
}
185+
queryParams.set('fee', JSON.stringify({ feeAmount: feeTier, tickSpacing, isDynamic }))
186186
if (hookAddress) {
187187
queryParams.set('hook', hookAddress)
188188
}
189-
if (isDynamic) {
190-
queryParams.set('isDynamic', 'true')
191-
}
192189
const url = `/positions/create/${protocolVersion?.toLowerCase()}?${queryParams.toString()}`
193190
navigate(url, {
194191
state: { from: location.pathname },

apps/web/src/pages/PoolDetails/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ export default function PoolDetailsPage() {
263263
token0={token0}
264264
token1={token1}
265265
feeTier={poolData?.feeTier?.feeAmount}
266+
tickSpacing={poolData?.feeTier?.tickSpacing}
266267
hookAddress={poolData?.hookAddress}
267268
isDynamic={poolData?.feeTier?.isDynamic}
268269
protocolVersion={poolData?.protocolVersion}

0 commit comments

Comments
 (0)