Skip to content

Commit

Permalink
refactor: group imports for exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyaco committed Aug 16, 2024
1 parent e5d52fc commit 0d9f296
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/automated-dispute/src/eboActor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { ILogger } from "@ebo-agent/shared";
import { ContractFunctionRevertedError } from "viem";

import { InvalidActorState } from "./exceptions/invalidActorState.exception.js";
import { InvalidDisputeStatus } from "./exceptions/invalidDisputeStatus.exception.js";
import { RequestMismatch } from "./exceptions/requestMismatch.js";
import { ResponseAlreadyProposed } from "./exceptions/responseAlreadyProposed.js";
import {
InvalidActorState,
InvalidDisputeStatus,
RequestMismatch,
ResponseAlreadyProposed,
} from "./exceptions/index.js";
import { EboRegistry } from "./interfaces/eboRegistry.js";
import { ProtocolProvider } from "./protocolProvider.js";
import { EboEvent } from "./types/events.js";
Expand Down
3 changes: 3 additions & 0 deletions packages/automated-dispute/src/exceptions/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export * from "./rpcUrlsEmpty.exception.js";
export * from "./invalidActorState.exception.js";
export * from "./invalidDisputeStatus.exception.js";
export * from "./requestMismatch.js";
export * from "./responseAlreadyProposed.js";

0 comments on commit 0d9f296

Please sign in to comment.