Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Jan 22, 2025
1 parent 3d19e18 commit 0657949
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
16 changes: 8 additions & 8 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX`
- CIDv1: `bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq`
- CIDv0: `QmXWLumHqg4tACWDxukPYbD43ZRiNSky6uxg6zfM3G3abs`
- CIDv1: `bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi`

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

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

IPFS gateways:
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.dweb.link/
- https://bafybeidxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq.ipfs.cf-ipfs.com/
- [ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/](ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/)
- https://bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi.ipfs.dweb.link/
- https://bafybeieigtoxfjlgwe4hrnvsbldxzylo2govlsrd36ipkcl3bembqwbybi.ipfs.cf-ipfs.com/
- [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


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.66.2
web/5.67.0
1 change: 1 addition & 0 deletions packages/uniswap/src/features/gating/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export enum FeatureFlags {
PortionFields,
SharedSwapArbitrumUniswapXExperiment,
TokenSelectorTrendingTokens,
TwoSecondSwapQuotePollingInterval,
Unichain,
UnichainPromo,
UniswapX,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { UniverseChainId } from 'uniswap/src/features/chains/types'
import { isMainnetChainId } from 'uniswap/src/features/chains/utils'
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'

export const AVERAGE_L1_BLOCK_TIME_MS = 12 * ONE_SECOND_MS
Expand All @@ -20,5 +21,8 @@ export function usePollingIntervalByChain(chainId?: UniverseChainId): number {
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
}

0 comments on commit 0657949

Please sign in to comment.