@@ -304,7 +304,7 @@ export const deployL1Contracts = async (
304
304
if ( res . error ) {
305
305
throw new Error ( `Error setting block interval: ${ res . error . message } ` ) ;
306
306
}
307
- logger . info ( `Set block interval to ${ args . ethereumSlotDuration } ` ) ;
307
+ logger . warn ( `Set block interval to ${ args . ethereumSlotDuration } ` ) ;
308
308
}
309
309
310
310
logger . verbose ( `Deploying contracts from ${ account . address . toString ( ) } ` ) ;
@@ -315,21 +315,21 @@ export const deployL1Contracts = async (
315
315
const govDeployer = new L1Deployer ( walletClient , publicClient , args . salt , logger ) ;
316
316
317
317
const registryAddress = await govDeployer . deploy ( l1Artifacts . registry , [ account . address . toString ( ) ] ) ;
318
- logger . info ( `Deployed Registry at ${ registryAddress } ` ) ;
318
+ logger . verbose ( `Deployed Registry at ${ registryAddress } ` ) ;
319
319
320
320
const feeAssetAddress = await govDeployer . deploy ( l1Artifacts . feeAsset , [
321
321
'FeeJuice' ,
322
322
'FEE' ,
323
323
account . address . toString ( ) ,
324
324
] ) ;
325
- logger . info ( `Deployed Fee Juice at ${ feeAssetAddress } ` ) ;
325
+ logger . verbose ( `Deployed Fee Juice at ${ feeAssetAddress } ` ) ;
326
326
327
327
const stakingAssetAddress = await govDeployer . deploy ( l1Artifacts . stakingAsset , [
328
328
'Staking' ,
329
329
'STK' ,
330
330
account . address . toString ( ) ,
331
331
] ) ;
332
- logger . info ( `Deployed Staking Asset at ${ stakingAssetAddress } ` ) ;
332
+ logger . verbose ( `Deployed Staking Asset at ${ stakingAssetAddress } ` ) ;
333
333
334
334
// @todo #8084
335
335
// @note These numbers are just chosen to make testing simple.
@@ -340,29 +340,29 @@ export const deployL1Contracts = async (
340
340
quorumSize ,
341
341
roundSize ,
342
342
] ) ;
343
- logger . info ( `Deployed GovernanceProposer at ${ governanceProposerAddress } ` ) ;
343
+ logger . verbose ( `Deployed GovernanceProposer at ${ governanceProposerAddress } ` ) ;
344
344
345
345
// @note @LHerskind the assets are expected to be the same at some point, but for better
346
346
// configurability they are different for now.
347
347
const governanceAddress = await govDeployer . deploy ( l1Artifacts . governance , [
348
348
feeAssetAddress . toString ( ) ,
349
349
governanceProposerAddress . toString ( ) ,
350
350
] ) ;
351
- logger . info ( `Deployed Governance at ${ governanceAddress } ` ) ;
351
+ logger . verbose ( `Deployed Governance at ${ governanceAddress } ` ) ;
352
352
353
353
const coinIssuerAddress = await govDeployer . deploy ( l1Artifacts . coinIssuer , [
354
354
feeAssetAddress . toString ( ) ,
355
355
1n * 10n ** 18n , // @todo #8084
356
356
governanceAddress . toString ( ) ,
357
357
] ) ;
358
- logger . info ( `Deployed CoinIssuer at ${ coinIssuerAddress } ` ) ;
358
+ logger . verbose ( `Deployed CoinIssuer at ${ coinIssuerAddress } ` ) ;
359
359
360
360
const rewardDistributorAddress = await govDeployer . deploy ( l1Artifacts . rewardDistributor , [
361
361
feeAssetAddress . toString ( ) ,
362
362
registryAddress . toString ( ) ,
363
363
governanceAddress . toString ( ) ,
364
364
] ) ;
365
- logger . info ( `Deployed RewardDistributor at ${ rewardDistributorAddress } ` ) ;
365
+ logger . verbose ( `Deployed RewardDistributor at ${ rewardDistributorAddress } ` ) ;
366
366
367
367
logger . verbose ( `Waiting for governance contracts to be deployed` ) ;
368
368
await govDeployer . waitForDeployments ( ) ;
@@ -375,7 +375,7 @@ export const deployL1Contracts = async (
375
375
feeAssetAddress . toString ( ) ,
376
376
args . l2FeeJuiceAddress . toString ( ) ,
377
377
] ) ;
378
- logger . info ( `Deployed Fee Juice Portal at ${ feeJuicePortalAddress } ` ) ;
378
+ logger . verbose ( `Deployed Fee Juice Portal at ${ feeJuicePortalAddress } ` ) ;
379
379
380
380
const rollupConfigArgs = {
381
381
aztecSlotDuration : args . aztecSlotDuration ,
@@ -394,10 +394,10 @@ export const deployL1Contracts = async (
394
394
rollupConfigArgs ,
395
395
] ;
396
396
const rollupAddress = await deployer . deploy ( l1Artifacts . rollup , rollupArgs ) ;
397
- logger . info ( `Deployed Rollup at ${ rollupAddress } ` , rollupConfigArgs ) ;
397
+ logger . verbose ( `Deployed Rollup at ${ rollupAddress } ` , rollupConfigArgs ) ;
398
398
399
399
await deployer . waitForDeployments ( ) ;
400
- logger . info ( `All core contracts deployed` ) ;
400
+ logger . verbose ( `All core contracts have been deployed` ) ;
401
401
402
402
const feeJuicePortal = getContract ( {
403
403
address : feeJuicePortalAddress . toString ( ) ,
@@ -428,7 +428,7 @@ export const deployL1Contracts = async (
428
428
429
429
{
430
430
const txHash = await feeAsset . write . setFreeForAll ( [ true ] , { } as any ) ;
431
- logger . info ( `Fee asset set to free for all in ${ txHash } ` ) ;
431
+ logger . verbose ( `Fee asset set to free for all in ${ txHash } ` ) ;
432
432
txHashes . push ( txHash ) ;
433
433
}
434
434
@@ -464,7 +464,7 @@ export const deployL1Contracts = async (
464
464
// @note This is used to ensure we fully wait for the transaction when running against a real chain
465
465
// otherwise we execute subsequent transactions too soon
466
466
await publicClient . waitForTransactionReceipt ( { hash : mintTxHash } ) ;
467
- logger . info ( `Funding fee juice portal contract with fee juice in ${ mintTxHash } ` ) ;
467
+ logger . verbose ( `Funding fee juice portal contract with fee juice in ${ mintTxHash } ` ) ;
468
468
469
469
if ( ! ( await feeJuicePortal . read . initialized ( [ ] ) ) ) {
470
470
const initPortalTxHash = await feeJuicePortal . write . initialize ( [ ] ) ;
@@ -474,7 +474,7 @@ export const deployL1Contracts = async (
474
474
logger . verbose ( `Fee juice portal is already initialized` ) ;
475
475
}
476
476
477
- logger . info (
477
+ logger . verbose (
478
478
`Initialized Fee Juice Portal at ${ feeJuicePortalAddress } to bridge between L1 ${ feeAssetAddress } to L2 ${ args . l2FeeJuiceAddress } ` ,
479
479
) ;
480
480
@@ -504,15 +504,15 @@ export const deployL1Contracts = async (
504
504
// Set initial blocks as proven if requested
505
505
if ( args . assumeProvenThrough && args . assumeProvenThrough > 0 ) {
506
506
await rollup . write . setAssumeProvenThroughBlockNumber ( [ BigInt ( args . assumeProvenThrough ) ] , { account } ) ;
507
- logger . warn ( `Set Rollup assumedProvenUntil to ${ args . assumeProvenThrough } ` ) ;
507
+ logger . warn ( `Rollup set to assumedProvenUntil to ${ args . assumeProvenThrough } ` ) ;
508
508
}
509
509
510
510
// Inbox and Outbox are immutable and are deployed from Rollup's constructor so we just fetch them from the contract.
511
511
const inboxAddress = EthAddress . fromString ( ( await rollup . read . INBOX ( [ ] ) ) as any ) ;
512
- logger . info ( `Inbox available at ${ inboxAddress } ` ) ;
512
+ logger . verbose ( `Inbox available at ${ inboxAddress } ` ) ;
513
513
514
514
const outboxAddress = EthAddress . fromString ( ( await rollup . read . OUTBOX ( [ ] ) ) as any ) ;
515
- logger . info ( `Outbox available at ${ outboxAddress } ` ) ;
515
+ logger . verbose ( `Outbox available at ${ outboxAddress } ` ) ;
516
516
517
517
// We need to call a function on the registry to set the various contract addresses.
518
518
const registryContract = getContract ( {
@@ -562,6 +562,8 @@ export const deployL1Contracts = async (
562
562
governanceAddress,
563
563
} ;
564
564
565
+ logger . info ( `Aztec L1 contracts initialized` , l1Contracts ) ;
566
+
565
567
return {
566
568
walletClient,
567
569
publicClient,
0 commit comments