Skip to content

Commit

Permalink
Merge branch 'master' into deployment-preparation/hook-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Ignacio Ubeira committed Dec 13, 2024
2 parents 4202cde + 14dc560 commit f88b3c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions v2/tasks/20211202-no-protocol-fee-lbp/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f88b3c6

Please sign in to comment.