diff --git a/src/artifact.ts b/src/artifact.ts index 4313eff4..2df3e787 100644 --- a/src/artifact.ts +++ b/src/artifact.ts @@ -47,10 +47,11 @@ export function checkArtifact(task: Task): void { readmeLines = readmeContents.split('\n'); } - const buildInfoDirectory = path.resolve(task.dir(), 'build-info'); - if (existsSync(buildInfoDirectory) && statSync(buildInfoDirectory).isDirectory()) { - for (const buildInfoFileName of readdirSync(buildInfoDirectory)) { - const fileName = path.parse(buildInfoFileName).name; + const artifactDirectory = path.resolve(task.dir(), 'artifact'); + + if (existsSync(artifactDirectory) && statSync(artifactDirectory).isDirectory()) { + for (const artifactFileName of readdirSync(artifactDirectory)) { + const fileName = path.parse(artifactFileName).name; const contractName = fileName; const expectedArtifact = task.artifact(contractName, fileName); diff --git a/v2/tasks/20211202-no-protocol-fee-lbp/readme.md b/v2/tasks/20211202-no-protocol-fee-lbp/readme.md index 55893d89..337bac0e 100644 --- a/v2/tasks/20211202-no-protocol-fee-lbp/readme.md +++ b/v2/tasks/20211202-no-protocol-fee-lbp/readme.md @@ -16,4 +16,5 @@ Deployment of the `NoProtocolFeeLiquidityBootstrappingPool`, for Liquidity Boots - [Fraxtal mainnet addresses](./output/fraxtal.json) - [Mode mainnet addresses](./output/mode.json) - [Sepolia testnet addresses](./output/sepolia.json) +- [`LiquidityBootstrappingPool` artifact](./artifact/LiquidityBootstrappingPool.json) - [`NoProtocolFeeLiquidityBootstrappingPoolFactory` artifact](./artifact/NoProtocolFeeLiquidityBootstrappingPoolFactory.json)