Skip to content

Commit

Permalink
Merge branch 'master' into 09-05-feat_addressing_nico_s_router_comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan authored Sep 5, 2024
2 parents cdca150 + 8b7b2d2 commit 72be706
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yarn-project/ethereum/src/deploy_l1_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ export const deployL1Contracts = async (
// fund the portal contract with Fee Juice
const FEE_JUICE_INITIAL_MINT = 20000000000;
const mintTxHash = await feeJuice.write.mint([feeJuicePortalAddress.toString(), FEE_JUICE_INITIAL_MINT], {} as any);
txHashes.push(mintTxHash);

// @note This is used to ensure we fully wait for the transaction when running against a real chain
// otherwise we execute subsequent transactions too soon
await publicClient.waitForTransactionReceipt({ hash: mintTxHash });
logger.info(`Funding fee juice portal contract with fee juice in ${mintTxHash}`);

if ((await feeJuicePortal.read.registry([])) === zeroAddress) {
Expand Down

0 comments on commit 72be706

Please sign in to comment.