Skip to content

Commit 69612cb

Browse files
Circleci project setup (#34)
* Add .circleci/config.yml * Add .circleci/config.yml * ci(release): publish latest release --------- Co-authored-by: Uniswap Labs Service Account <hello-happy-puppy@users.noreply.github.com>
1 parent 70d8acc commit 69612cb

5 files changed

Lines changed: 53 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/configuration-reference
3+
version: 2.1
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
7+
jobs:
8+
say-hello:
9+
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
11+
docker:
12+
# Specify the version you desire here
13+
# See: https://circleci.com/developer/images/image/cimg/base
14+
- image: cimg/base:current
15+
16+
# Add steps to the job
17+
# See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps
18+
steps:
19+
# Checkout the code as the first step.
20+
- checkout
21+
- run:
22+
name: "Say hello"
23+
command: "echo Hello, World!"
24+
25+
# Orchestrate jobs using workflows
26+
# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
27+
workflows:
28+
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
29+
# Inside the workflow, you define the jobs you want to run.
30+
jobs:
31+
- say-hello

RELEASE

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmQZe48wGBwx6z8DuboTG62AYf8BbKd6XYDENefVZUvjyV`
3-
- CIDv1: `bafybeibbbmxslnkqathnm7vryt3oxm6pcjcwyc7s4c7u2agjr6b6uyo4vq`
2+
- CIDv0: `QmSHXp5oNAxME6KY7LJy4ndnuBfL3ujQ67aMiPuTUuQ66g`
3+
- CIDv1: `bafybeib2ui2plf3zbinsp24o4d5ir66yr4a3qlg55kswt2rmlgkoomvigu`
44

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

@@ -10,9 +10,14 @@ 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://bafybeibbbmxslnkqathnm7vryt3oxm6pcjcwyc7s4c7u2agjr6b6uyo4vq.ipfs.dweb.link/
14-
- [ipfs://QmQZe48wGBwx6z8DuboTG62AYf8BbKd6XYDENefVZUvjyV/](ipfs://QmQZe48wGBwx6z8DuboTG62AYf8BbKd6XYDENefVZUvjyV/)
13+
- https://bafybeib2ui2plf3zbinsp24o4d5ir66yr4a3qlg55kswt2rmlgkoomvigu.ipfs.dweb.link/
14+
- [ipfs://QmSHXp5oNAxME6KY7LJy4ndnuBfL3ujQ67aMiPuTUuQ66g/](ipfs://QmSHXp5oNAxME6KY7LJy4ndnuBfL3ujQ67aMiPuTUuQ66g/)
1515

16-
### 5.72.3 (2025-02-21)
16+
## 5.73.0 (2025-02-26)
17+
18+
19+
### Features
20+
21+
* **web:** reduce monad testnet quote polling interval (#16719) c99cc6c
1722

1823

VERSION

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

packages/uniswap/src/features/gating/configs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export enum SwapConfigKey {
3333
AverageL1BlockTimeMs = 'averageL1BlockTimeMs',
3434
AverageL2BlockTimeMs = 'averageL2BlockTimeMs',
3535
TradingApiSwapRequestMs = 'tradingApiSwapRequestMs',
36+
MonadTestnetPollingIntervalMs = 'monadTestnetPollingIntervalMs',
3637

3738
MinAutoSlippageToleranceL2 = 'minAutoSlippageToleranceL2',
3839

packages/uniswap/src/features/transactions/swap/hooks/usePollingIntervalByChain.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,19 @@ export function usePollingIntervalByChain(chainId?: UniverseChainId): number {
2121
AVERAGE_L2_BLOCK_TIME_MS,
2222
)
2323

24+
const monadTestnetPollingIntervalMs = useDynamicConfigValue(
25+
DynamicConfigs.Swap,
26+
SwapConfigKey.MonadTestnetPollingIntervalMs,
27+
AVERAGE_L2_BLOCK_TIME_MS,
28+
)
29+
2430
// TODO(WEB-6132): remove this flag once short term experiment is complete
2531
const enableTwoSecondInterval = useFeatureFlag(FeatureFlags.TwoSecondSwapQuotePollingInterval)
2632
const l2PollingInterval = enableTwoSecondInterval ? 2 * ONE_SECOND_MS : averageL2BlockTimeMs
2733

34+
// Remove this dynamic config once Monad RPC latency issues are resolved
35+
if (chainId === UniverseChainId.MonadTestnet) {
36+
return monadTestnetPollingIntervalMs
37+
}
2838
return isMainnetChainId(chainId) ? averageL1BlockTimeMs : l2PollingInterval
2939
}

0 commit comments

Comments
 (0)