ci(release): publish latest release

parent 3d19e180
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX` - CIDv0: `QmXWLumHqg4tACWDxukPYbD43ZRiNSky6uxg6zfM3G3abs`
- CIDv1: `bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq` - CIDv1: `bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org). The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs. Your Uniswap settings are never remembered across different URLs.
IPFS gateways: IPFS gateways:
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.dweb.link/ - https://bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi.ipfs.dweb.link/
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.cf-ipfs.com/ - https://bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi.ipfs.cf-ipfs.com/
- [ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/](ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/) - [ipfs://QmXWLumHqg4tACWDxukPYbD43ZRiNSky6uxg6zfM3G3abs/](ipfs://QmXWLumHqg4tACWDxukPYbD43ZRiNSky6uxg6zfM3G3abs/)
### 5.66.2 (2025-01-22) ## 5.67.0 (2025-01-22)
### Bug Fixes ### Features
* **web:** 01 22 fix web use on chain currency balance for increase create prod (#15380) 2ee9767 * **web:** add flag to experiment with 2s l2 polling interval [prod] (#15385) 2398242
web/5.66.2 web/5.67.0
\ No newline at end of file \ No newline at end of file
...@@ -14,6 +14,7 @@ export enum FeatureFlags { ...@@ -14,6 +14,7 @@ export enum FeatureFlags {
PortionFields, PortionFields,
SharedSwapArbitrumUniswapXExperiment, SharedSwapArbitrumUniswapXExperiment,
TokenSelectorTrendingTokens, TokenSelectorTrendingTokens,
TwoSecondSwapQuotePollingInterval,
Unichain, Unichain,
UnichainPromo, UnichainPromo,
UniswapX, UniswapX,
......
import { UniverseChainId } from 'uniswap/src/features/chains/types' import { UniverseChainId } from 'uniswap/src/features/chains/types'
import { isMainnetChainId } from 'uniswap/src/features/chains/utils' import { isMainnetChainId } from 'uniswap/src/features/chains/utils'
import { DynamicConfigs, SwapConfigKey } from 'uniswap/src/features/gating/configs' import { DynamicConfigs, SwapConfigKey } from 'uniswap/src/features/gating/configs'
import { useDynamicConfigValue } from 'uniswap/src/features/gating/hooks' import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useDynamicConfigValue, useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { ONE_SECOND_MS } from 'utilities/src/time/time' import { ONE_SECOND_MS } from 'utilities/src/time/time'
export const AVERAGE_L1_BLOCK_TIME_MS = 12 * ONE_SECOND_MS export const AVERAGE_L1_BLOCK_TIME_MS = 12 * ONE_SECOND_MS
...@@ -20,5 +21,8 @@ export function usePollingIntervalByChain(chainId?: UniverseChainId): number { ...@@ -20,5 +21,8 @@ export function usePollingIntervalByChain(chainId?: UniverseChainId): number {
AVERAGE_L2_BLOCK_TIME_MS, AVERAGE_L2_BLOCK_TIME_MS,
) )
return isMainnetChainId(chainId) ? averageL1BlockTimeMs : averageL2BlockTimeMs const enableTwoSecondInterval = useFeatureFlag(FeatureFlags.TwoSecondSwapQuotePollingInterval)
const l2PollingInterval = enableTwoSecondInterval ? 2 * ONE_SECOND_MS : averageL2BlockTimeMs
return isMainnetChainId(chainId) ? averageL1BlockTimeMs : l2PollingInterval
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment