Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/deploy_account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ export async function deployAccount() {
await deploySchnorrAccount(pxe);
}

deployAccount();
deployAccount().catch((error) => {
console.error("Error:", error);
process.exit(1);
});
5 changes: 4 additions & 1 deletion scripts/fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ async function main() {
logger.info(`Transfer paid with fees from Sponsored FPC.`)
}

main();
main().catch((error) => {
console.error("Error:", error);
process.exit(1);
});

// from here: https://github.com/AztecProtocol/aztec-packages/blob/ecbd59e58006533c8885a8b2fadbd9507489300c/yarn-project/end-to-end/src/fixtures/utils.ts#L534
function getL1WalletClient(rpcUrl: string, index: number) {
Expand Down
5 changes: 4 additions & 1 deletion scripts/get_block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ async function main() {
console.log(await block?.hash())
}

main();
main().catch((error) => {
console.error("Error:", error);
process.exit(1);
});
5 changes: 4 additions & 1 deletion scripts/multiple_pxe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ async function main() {

}

main();
main().catch((error) => {
console.error("Error:", error);
process.exit(1);
});
5 changes: 4 additions & 1 deletion scripts/profile_deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ async function main() {
console.dir(profileTx, { depth: 2 });
}

main();
main().catch((error) => {
console.error("Error:", error);
process.exit(1);
});