diff --git a/packages/automated-dispute/src/services/eboActor.ts b/packages/automated-dispute/src/services/eboActor.ts index bfb62af..874897d 100644 --- a/packages/automated-dispute/src/services/eboActor.ts +++ b/packages/automated-dispute/src/services/eboActor.ts @@ -807,8 +807,6 @@ export class EboActor { try { const { chainId } = request.decodedData.requestModuleData; - this.logger.error("PROPOSING RESPONSE"); - await this.proposeResponse(chainId); } catch (err) { if (err instanceof ResponseAlreadyProposed) { diff --git a/packages/automated-dispute/src/services/eboProcessor.ts b/packages/automated-dispute/src/services/eboProcessor.ts index 75da337..c18136e 100644 --- a/packages/automated-dispute/src/services/eboProcessor.ts +++ b/packages/automated-dispute/src/services/eboProcessor.ts @@ -388,7 +388,8 @@ export class EboProcessor { */ private async createMissingRequests(epoch: Epoch["number"]): Promise { try { - // TODO: keep requests even when their actors are finalized + // TODO: keep requests even when their actors are finalized to avoid + // trying to create requests again when they've been already solved const handledEpochChains = this.actorsManager .getActorsRequests() .reduce((actorRequestMap, actorRequest: ActorRequest) => { @@ -431,7 +432,6 @@ export class EboProcessor { } catch (err) { // Request creation must be notified but it's not critical, as it will be // retried during next sync. - if (err instanceof ContractFunctionRevertedError) { if (err.name === "EBORequestCreator_RequestAlreadyCreated") { this.logger.info(