Skip to content

Commit 94c03ba

Browse files
committed
fix(script): update type and failing liquidity deposit
1 parent 5249677 commit 94c03ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/init-testnet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ async function constructAmmSetup(api: ApiPromise) {
330330
let liquidity1 = new BN(liquidity/2).mul(new BN(10).pow(decimals1)).divn(price1);
331331

332332
return [
333-
api.tx.dexGeneral.createPair(token0, token1),
333+
api.tx.dexGeneral.createPair(token0, token1, 30),
334334
api.tx.farming.updateRewardSchedule(
335335
{ LpToken: [token0, token1] },
336336
{ Token: "KINT" },
@@ -416,7 +416,7 @@ async function constructAmmSetup(api: ApiPromise) {
416416
metaPoolId,
417417
[
418418
"10000000000000", // 10 KSM
419-
"80000000000000000000", // 80 LKSM
419+
"60000000000000000000", // 80 LKSM
420420
],
421421
0, // min mint amount
422422
treasuryAccount, // recipient

0 commit comments

Comments
 (0)