Skip to content

Commit

Permalink
Adjust pool creation value
Browse files Browse the repository at this point in the history
  • Loading branch information
Robiquet committed Jun 13, 2024
1 parent d8eebc5 commit a6dc62d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/state/market-creation/types/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,11 @@ export const marketFormDataToExtrinsicParams = (
),
},
}
: {
scoringRule: "AmmCdaHybrid",
: // patch to make it work until next runtime upgrade
({
scoringRule: "Lmsr",
creationType: form.moderation,
};
} as any as NoPool);

let disputeMechanism: CreateMarketParams<RpcContext>["disputeMechanism"] =
"Authorized";
Expand Down

0 comments on commit a6dc62d

Please sign in to comment.