Skip to content

Commit

Permalink
remove whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
godzillaba committed Aug 30, 2024
1 parent 72ffc5c commit f7380ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src-ts/proposalStage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1388,13 +1388,9 @@ export class RetryableExecutionStage implements ProposalStage {
try {
await (await this.l1ToL2Message.redeem()).wait();
break;
} catch (e) {
const knownPending = JSON.parse(process.env.PENDING_RETRYABLES?.toLowerCase() || "[]");
} catch {
const id = this.l1ToL2Message.retryableCreationId.toLowerCase();
if (!knownPending.includes(id)) {
throw e
}
console.log(`Failed to redeem retryable ${id}, retrying in 60s`);
console.error(`Failed to redeem retryable ${id}, retrying in 60s`);
await wait(60_000);
}
}
Expand Down

0 comments on commit f7380ac

Please sign in to comment.