Skip to content

Commit

Permalink
Merge pull request #179 from zkp2p/justin/timer-changes
Browse files Browse the repository at this point in the history
Update timing of validation
  • Loading branch information
justinkchen committed Nov 15, 2023
2 parents 17ade85 + b5c79e6 commit 03a09f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/src/components/modals/VerificationStepRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const VerificationStepRow: React.FC<VerificationStepRowProps> = ({

return () => clearTimeout(timeout);
}

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [progress]);

Expand All @@ -102,7 +102,7 @@ export const VerificationStepRow: React.FC<VerificationStepRowProps> = ({
case VerificationStepType.UPLOAD:
return 1000;
case VerificationStepType.PROVE:
return isProvingTypeFast ? 150000 : 660000;
return isProvingTypeFast ? 60000 : 660000;
default:
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/helpers/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ export const PROOF_MODAL_PROVE_TITLE = `
`;

export const PROOF_MODAL_PROVE_SUBTITLE_PRIVATE = `
Private validation will take approximately 9 minutes
Private validation will take approximately 10 minutes
`;

export const PROOF_MODAL_PROVE_SUBTITLE_FAST = `
Fast validation will take approximately 2-3 minutes
Fast validation will take approximately 60 seconds
`;

export const PROOF_MODAL_VERIFY_TITLE = `
Expand Down

0 comments on commit 03a09f6

Please sign in to comment.