Skip to content

Commit

Permalink
Merge pull request #2302 from zeitgeistpm/tr-default-dispute
Browse files Browse the repository at this point in the history
Fix dispute options and adjust defaults
  • Loading branch information
Robiquet authored Feb 26, 2024
2 parents 809323a + 74d3170 commit be3e30d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/state/market-creation/constants/deadline-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export const disputePeriodOptions = [
},
{
type: "duration",
preset: "4 Days",
preset: "2 Days",
unit: "days",
value: 4,
value: 2,
},
{ type: "custom-duration" },
] as const satisfies DeepReadonly<BlockPeriodPickerOptions>;
3 changes: 2 additions & 1 deletion lib/state/market-creation/types/draft.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
disputePeriodOptions,
gracePeriodOptions,
reportingPeriodOptions,
} from "../constants/deadline-options";
Expand Down Expand Up @@ -65,7 +66,7 @@ export const empty = (): MarketDraftState => ({
oracle: "",
gracePeriod: gracePeriodOptions[0],
reportingPeriod: reportingPeriodOptions[1],
disputePeriod: reportingPeriodOptions[1],
disputePeriod: disputePeriodOptions[0],
moderation: "Permissionless",
creatorFee: {
type: "preset",
Expand Down

0 comments on commit be3e30d

Please sign in to comment.