Skip to content

Commit

Permalink
fix: fix logging and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyaco committed Oct 25, 2024
1 parent 86fb47c commit 4a6d0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/automated-dispute/src/services/eboActor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions packages/automated-dispute/src/services/eboProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ export class EboProcessor {
*/
private async createMissingRequests(epoch: Epoch["number"]): Promise<void> {
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) => {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 4a6d0da

Please sign in to comment.