-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3617 from cowprotocol/develop
Release: cowswap/1.55.0, explorer/2.27.0
- Loading branch information
Showing
521 changed files
with
39,328 additions
and
806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,8 +166,8 @@ jobs: | |
id: cypress-run | ||
uses: cypress-io/[email protected] | ||
with: | ||
wait-on: http://localhost:3000 | ||
wait-on-timeout: 200 | ||
wait-on: http://[::1]:3000 | ||
wait-on-timeout: 600 | ||
install: false | ||
working-directory: apps/cowswap-frontend-e2e | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"apps/cowswap-frontend": "1.54.2", | ||
"apps/explorer": "2.26.0", | ||
"libs/permit-utils": "0.0.2", | ||
"libs/widget-lib": "0.2.1", | ||
"libs/widget-react": "0.2.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { Percent } from '@uniswap/sdk-core' | ||
|
||
import ms from 'ms.macro' | ||
|
||
export const HIGH_FEE_WARNING_PERCENTAGE = new Percent(1, 10) | ||
|
||
export const SAFE_COW_APP_LINK = 'https://app.safe.global/share/safe-app?appUrl=https%3A%2F%2Fswap.cow.fi&chain=eth' | ||
|
||
export const MAX_ORDER_DEADLINE = ms`182d` + ms`12h` // 6 months, matching backend's https://github.com/cowprotocol/infrastructure/blob/901ed8e2fe3ea57956585f107bdd7539c2e7d3d1/services/Pulumi.yaml#L15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
apps/cowswap-frontend/src/common/hooks/useIsProviderNetworkUnsupported.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
import { useMemo } from 'react' | ||
|
||
import { SupportedChainId } from '@cowprotocol/cow-sdk' | ||
import { useWeb3React } from '@web3-react/core' | ||
|
||
import { useFeatureFlags } from './featureFlags/useFeatureFlags' | ||
|
||
export function useIsProviderNetworkUnsupported(): boolean { | ||
const { chainId } = useWeb3React() | ||
const { isSepoliaEnabled } = useFeatureFlags() | ||
|
||
return useMemo(() => { | ||
if (!chainId) return false | ||
|
||
if (chainId === SupportedChainId.SEPOLIA) { | ||
return !isSepoliaEnabled | ||
} | ||
|
||
return !!chainId && !(chainId in SupportedChainId) | ||
return !(chainId in SupportedChainId) | ||
}, [chainId, isSepoliaEnabled]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
apps/cowswap-frontend/src/common/pure/NetworksList/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b916db2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
widget-configurator – ./
widget-configurator-git-main-cowswap.vercel.app
widget-configurator-seven.vercel.app
widget-configurator-cowswap.vercel.app
widget.cow.fi
b916db2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
explorer-dev – ./
explorer-dev-git-main-cowswap.vercel.app
explorer-dev.vercel.app
dev.explorer.cow.fi
explorer-dev-cowswap.vercel.app
b916db2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cosmos – ./
cosmos.cow.fi
cosmos-git-main-cowswap.vercel.app
cowswap-seven.vercel.app
cosmos-cowswap.vercel.app