Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-zk committed Sep 18, 2023
1 parent 4d9a466 commit 16dfcba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 3 additions & 3 deletions scripts/compile-yul.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ class CompilerPaths {


async function main() {
//await compileYulFolder('contracts');
//await compileYulFolder('contracts/precompiles');
await compileYulFolder('contracts');
await compileYulFolder('contracts/precompiles');
await compileYulFolder('bootloader/build');
//await compileYulFolder('bootloader/tests');
await compileYulFolder('bootloader/tests');
}

main()
Expand Down
13 changes: 4 additions & 9 deletions scripts/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ async function main() {

let testFramework = createTestFramework(testMethods);


const bootloaderTestUtils = await renderFile('bootloader/tests/utils/test_utils.yul', {});

const bootloaderWithTests = await renderFile('bootloader/bootloader.yul', {
Expand All @@ -236,15 +235,11 @@ async function main() {
mkdirSync(OUTPUT_DIR);
}


writeFileSync(`${OUTPUT_DIR}/bootloader_test.yul`, provedBootloaderWithTests);



//writeFileSync(`${OUTPUT_DIR}/proved_batch.yul`, provedBatchBootloader);
//writeFileSync(`${OUTPUT_DIR}/playground_batch.yul`, playgroundBatchBootloader);
//writeFileSync(`${OUTPUT_DIR}/gas_test.yul`, gasTestBootloader);
//writeFileSync(`${OUTPUT_DIR}/fee_estimate.yul`, feeEstimationBootloader);
writeFileSync(`${OUTPUT_DIR}/proved_batch.yul`, provedBatchBootloader);
writeFileSync(`${OUTPUT_DIR}/playground_batch.yul`, playgroundBatchBootloader);
writeFileSync(`${OUTPUT_DIR}/gas_test.yul`, gasTestBootloader);
writeFileSync(`${OUTPUT_DIR}/fee_estimate.yul`, feeEstimationBootloader);

console.log('Preprocessing done!');
}
Expand Down

0 comments on commit 16dfcba

Please sign in to comment.