From 06914dbfcce2e48960bf3fdf0a350f4cb4bc6c6b Mon Sep 17 00:00:00 2001 From: Rens Rooimans Date: Mon, 9 Dec 2024 14:09:41 +0100 Subject: [PATCH] only skip test files in hardhat compile to allow abi generation --- contracts/hardhat.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/hardhat.config.ts b/contracts/hardhat.config.ts index 4675301e4e..6e2f45c4bf 100644 --- a/contracts/hardhat.config.ts +++ b/contracts/hardhat.config.ts @@ -21,9 +21,9 @@ subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS).setAction( async (_, __, runSuper) => { const paths = await runSuper() const noTests = paths.filter((p: string) => !p.endsWith('.t.sol')) - const noCCIP = noTests.filter((p: string) => !p.includes('/v0.8/ccip')) + const noCCIP = noTests.filter((p: string) => !p.includes('/v0.8/ccip/test')) const noKeystone = noCCIP.filter( - (p: string) => !p.includes('/v0.8/keystone'), + (p: string) => !p.includes('/v0.8/keystone/test'), ) return noKeystone.filter( (p: string) => !p.includes('src/v0.8/vendor/forge-std'),