Skip to content

Commit

Permalink
chore: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jahabeebs committed Sep 11, 2024
1 parent 827b90c commit 2215c57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/automated-dispute/src/services/errorFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export class ErrorFactory {
// TODO: need to define structure of each error
// TODO: Need to define some base contract reverted error to distinguish from other errors
switch (errorName) {
// Existing errors
case "EBORequestCreator_InvalidEpoch":
return new EBORequestCreator_InvalidEpoch();
case "Oracle_InvalidRequestBody":
Expand All @@ -27,7 +26,7 @@ export class ErrorFactory {
return new EBORequestModule_InvalidRequester();
case "EBORequestCreator_ChainNotAdded":
return new EBORequestCreator_ChainNotAdded();
// TODO: refactor errors to be in a map & use new error factory rather than a new class for each
// TODO: refactor all errors to be in a map & use new error factory rather than a new class for each
// case "AccountExtension_InsufficientFunds":
// case "AccountingExtensions_NotAllowed":
// case "BondedResponseModule_AlreadyResponded":
Expand Down

0 comments on commit 2215c57

Please sign in to comment.