From 3cb8df6566c307a6b14c0c68672068f7ddad4ac3 Mon Sep 17 00:00:00 2001 From: Alberto Gualis Date: Tue, 1 Oct 2024 11:33:46 +0200 Subject: [PATCH] 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'