From b927f2f273518856518f3ef4fb807c00e960c246 Mon Sep 17 00:00:00 2001 From: uiuxxx Date: Tue, 1 Oct 2024 10:12:46 +0100 Subject: [PATCH 1/3] Change promo banners to 'CoW is Live' --- app/(app)/pools/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(app)/pools/page.tsx b/app/(app)/pools/page.tsx index 04726d6e3..d9182cd9a 100644 --- a/app/(app)/pools/page.tsx +++ b/app/(app)/pools/page.tsx @@ -9,7 +9,7 @@ import { Suspense } from 'react' // import { getProjectConfig } from '@/lib/config/getProjectConfig' // import { GetFeaturedPoolsDocument } from '@/lib/shared/services/api/generated/graphql' // import { FeaturedPools } from '@/lib/modules/featured-pools/FeaturedPools' -import { CowGalxeQuestPromoBanner } from '@/lib/shared/components/promos/CowGalxeQuestPromoBanner' +import { CowPromoBanner } from '@/lib/shared/components/promos/CowPromoBanner' export default async function PoolsPage() { // Featured pools set up @@ -33,7 +33,7 @@ export default async function PoolsPage() { - + {/* From b20ee98d7844b522cf33392ebce9f2e822e128b8 Mon Sep 17 00:00:00 2001 From: Alberto Gualis Date: Tue, 1 Oct 2024 11:29:57 +0200 Subject: [PATCH 2/3] chore: temporarily disable foundry cache --- .github/workflows/checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 163aaaac3..4717f4114 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -53,5 +53,7 @@ jobs: uses: ./.github/actions/setup - name: Set up foundry (includes anvil) uses: foundry-rs/foundry-toolchain@v1 + with: + cache: false - name: Run integration tests run: pnpm test:integration From 3cb8df6566c307a6b14c0c68672068f7ddad4ac3 Mon Sep 17 00:00:00 2001 From: Alberto Gualis Date: Tue, 1 Oct 2024 11:33:46 +0200 Subject: [PATCH 3/3] fix: receipt hook integration tests after foundry update --- .github/workflows/checks.yml | 2 -- .../receipts/receipt.hooks.integration.spec.ts | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4717f4114..163aaaac3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -53,7 +53,5 @@ jobs: uses: ./.github/actions/setup - name: Set up foundry (includes anvil) uses: foundry-rs/foundry-toolchain@v1 - with: - cache: false - name: Run integration tests run: pnpm test:integration diff --git a/lib/modules/transactions/transaction-steps/receipts/receipt.hooks.integration.spec.ts b/lib/modules/transactions/transaction-steps/receipts/receipt.hooks.integration.spec.ts index 71181dfa0..191d841be 100644 --- a/lib/modules/transactions/transaction-steps/receipts/receipt.hooks.integration.spec.ts +++ b/lib/modules/transactions/transaction-steps/receipts/receipt.hooks.integration.spec.ts @@ -54,11 +54,11 @@ test('queries add liquidity transaction', async () => { expect(result.current.sentTokens).toEqual([ { - tokenAddress: '0x198d7387fa97a73f05b8578cdeff8f2a1f34cd1f', + tokenAddress: '0x198d7387Fa97A73F05b8578CdEFf8F2A1f34Cd1F', humanAmount: '12', }, { - tokenAddress: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', + tokenAddress: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', humanAmount: '0.04', }, ]) @@ -99,11 +99,11 @@ test('queries remove liquidity transaction', async () => { expect(result.current.receivedTokens).toEqual([ { humanAmount: '16597.845312687911573359', - tokenAddress: '0x198d7387fa97a73f05b8578cdeff8f2a1f34cd1f', + tokenAddress: '0x198d7387Fa97A73F05b8578CdEFf8F2A1f34Cd1F', }, { humanAmount: '4.553531492712836774', - tokenAddress: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', + tokenAddress: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', }, ]) @@ -112,8 +112,8 @@ test('queries remove liquidity transaction', async () => { describe('queries swap transaction', () => { const polAddress = '0x0000000000000000000000000000000000001010' - const wPolAddress = '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270' - const daiAddress = '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063' + const wPolAddress = '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' + const daiAddress = '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063' test('when the native asset is not included (from DAI to WPOL)', async () => { const userAddress = '0xf76142b79Db34E57852d68F9c52C0E24f7349647'