From 011fd5f243add5ae05a024413d1790a033a2d7ab Mon Sep 17 00:00:00 2001 From: Bernardo Garces Chapero Date: Wed, 5 Jun 2024 17:15:37 +0100 Subject: [PATCH] remove morpho empty test (#251) --- .../tests/snapshots/ethereum.profits.3.json | 4 ---- .../src/adapters/morpho-aave-v3/tests/testCases.ts | 12 ------------ packages/adapters-library/src/config.ts | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 packages/adapters-library/src/adapters/morpho-aave-v3/tests/snapshots/ethereum.profits.3.json diff --git a/packages/adapters-library/src/adapters/morpho-aave-v3/tests/snapshots/ethereum.profits.3.json b/packages/adapters-library/src/adapters/morpho-aave-v3/tests/snapshots/ethereum.profits.3.json deleted file mode 100644 index 3d1d3bcb7..000000000 --- a/packages/adapters-library/src/adapters/morpho-aave-v3/tests/snapshots/ethereum.profits.3.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "blockNumber": 19223915, - "snapshot": [] -} diff --git a/packages/adapters-library/src/adapters/morpho-aave-v3/tests/testCases.ts b/packages/adapters-library/src/adapters/morpho-aave-v3/tests/testCases.ts index b8ff75beb..67feda545 100644 --- a/packages/adapters-library/src/adapters/morpho-aave-v3/tests/testCases.ts +++ b/packages/adapters-library/src/adapters/morpho-aave-v3/tests/testCases.ts @@ -44,18 +44,6 @@ export const testCases: TestCase[] = [ }, blockNumber: 19259859 + 1, }, - { - chainId: Chain.Ethereum, - method: 'profits', - key: '3', - input: { - userAddress: '0x306c9b45050F1FF0a4470f9801CCBCe97a2aC5A2', - timePeriod: TimePeriod.oneDay, - includeRawValues: true, - filterProtocolTokens: [], - }, - blockNumber: 19223914 + 1, - }, { chainId: Chain.Ethereum, method: 'tvl', diff --git a/packages/adapters-library/src/config.ts b/packages/adapters-library/src/config.ts index 229700940..04b86cfc5 100644 --- a/packages/adapters-library/src/config.ts +++ b/packages/adapters-library/src/config.ts @@ -124,7 +124,7 @@ const ConfigSchema = z .default( parseNumberEnv( process.env.DEFI_ADAPTERS_MAX_BATCH_SIZE_OPTIMISM, - 100, + 20, ), ), bsc: z