Skip to content

Commit

Permalink
fix: more fixes for networks (#7870)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr authored Aug 9, 2024
1 parent 4d0c027 commit 55c33bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions yarn-project/aztec/src/cli/aztec_start_options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,16 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = {
envVar: 'AVAILABILITY_ORACLE_CONTRACT_ADDRESS',
},
{
flag: '--gas-token-address <value>',
flag: '--fee-juice-address <value>',
description: 'The deployed L1 gas token contract address',
defaultValue: undefined,
envVar: 'GAS_TOKEN_CONTRACT_ADDRESS',
envVar: 'FEE_JUICE_CONTRACT_ADDRESS',
},
{
flag: '--gas-portal-address <value>',
flag: '--fee-juice-portal-address <value>',
description: 'The deployed L1 gas portal contract address',
defaultValue: undefined,
envVar: 'GAS_PORTAL_CONTRACT_ADDRESS',
envVar: 'FEE_JUICE_PORTAL_CONTRACT_ADDRESS',
},
],
// We can't easily auto-generate node options as they're parts of modules defined below
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ export class MemoryProvingQueue implements ServerCircuitProver, ProvingJobSource
return Promise.resolve();
}

if (job.attempts < MAX_RETRIES) {
// every job should be retried with the exception of the public VM since its in development and can fail
if (job.attempts < MAX_RETRIES && job.request.type !== ProvingRequestType.PUBLIC_VM) {
job.attempts++;
this.log.warn(
`Job id=${job.id} type=${ProvingRequestType[job.request.type]} failed with error: ${err}. Retry ${
Expand Down

0 comments on commit 55c33bd

Please sign in to comment.