Skip to content

Commit

Permalink
Save tests as well
Browse files Browse the repository at this point in the history
Signed-off-by: Danil <[email protected]>
  • Loading branch information
Deniallugo committed Sep 5, 2024
1 parent 7a4a894 commit 83a52dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system-contracts/scripts/preprocess-bootloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,16 @@ async function main() {
mkdirSync(OUTPUT_DIR);
}

const transferTest = readFileSync("bootloader/tests/dummy.yul").toString();
const dummy = readFileSync("bootloader/tests/transfer_test.yul").toString();

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}/dummy.yul`, dummy);
writeFileSync(`${OUTPUT_DIR}/transfer_test.yul`, transferTest);

console.log("Bootloader preprocessing done!");
}
Expand Down

0 comments on commit 83a52dc

Please sign in to comment.