Skip to content

Commit 749e764

Browse files
committed
chore(script): fix basepool id
1 parent e3d9122 commit 749e764

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

scripts/init-testnet.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ const args = yargs(hideBin(process.argv))
2323
description: "Which default values to use",
2424
choices: ['testnet-kintsugi'],
2525
})
26-
// .option("clients-url", {
27-
// description: "Url of the clients, without the client-name. E.g. https://github.com/interlay/interbtc-clients/releases/download/1.17.6/",
28-
// demandOption: true,
29-
// })
26+
.option("clients-url", {
27+
description: "Url of the clients, without the client-name. E.g. https://github.com/interlay/interbtc-clients/releases/download/1.17.6/",
28+
demandOption: true,
29+
})
3030
.argv;
3131

3232
main().catch((err) => {
@@ -257,7 +257,7 @@ async function constructAmmSetup(api: ApiPromise) {
257257
const metaPoolSetup = [
258258
api.tx.zenlinkStableAmm.createMetaPool(
259259
[
260-
{ StableLpToken: basePoolId + 1}, // LKSM+VKSM+SKSM
260+
{ StableLpToken: basePoolId }, // LKSM+VKSM+SKSM
261261
{ Token: "KSM" },
262262
],
263263
[12, 12], // decimals
@@ -366,6 +366,8 @@ function constructForeignAssetSetup(api: ApiPromise) {
366366
];
367367
}
368368

369+
// function constructClientsInfoSetup(api: ApiPromise) {
370+
// }
369371
function toUrl(extrinsic: SubmittableExtrinsic<"promise">, endpoint: string) {
370372
return "https://polkadot.js.org/apps/?rpc=" +
371373
encodeURIComponent(endpoint) +

0 commit comments

Comments
 (0)