Skip to content

Commit 28b69fa

Browse files
committed
chore: small changes test testnet init
1 parent 8eb28a8 commit 28b69fa

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

scripts/init-testnet.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ function constructFundingSetup(api: ApiPromise) {
186186
{ ForeignAsset: 3 }, // LKSM
187187
{ ForeignAsset: 4 }, // VKSM
188188
{ ForeignAsset: 5 }, // SKSM
189+
{ ForeignAsset: 6 }, // ETH
190+
{ ForeignAsset: 7 }, // AUSD
191+
{ ForeignAsset: 8 }, // KAR
189192
];
190193
const fundNormalTokens = tokens.map((token) => {
191194
return [
@@ -484,15 +487,15 @@ function constructForeignAssetSetup(api: ApiPromise) {
484487
symbol: "LKSM",
485488
existentialDeposit: 0,
486489
location: {
487-
V1: {
490+
V3: {
488491
parents: 1,
489492
interior: {
490493
X2: [
491494
{
492495
Parachain: 2000
493496
},
494497
{
495-
GeneralKey: "0x0083"
498+
GeneralKey: "0x008300000000000000000000000000000000000000000000000000000000000000"
496499
}
497500
]
498501
}
@@ -508,15 +511,15 @@ function constructForeignAssetSetup(api: ApiPromise) {
508511
symbol: "VKSM",
509512
existentialDeposit: 0,
510513
location: {
511-
V1: {
514+
V3: {
512515
parents: 1,
513516
interior: {
514517
X2: [
515518
{
516519
Parachain: 2001
517520
},
518521
{
519-
GeneralKey: "0x0104"
522+
GeneralKey: "0x010400000000000000000000000000000000000000000000000000000000000000"
520523
}
521524
]
522525
}
@@ -578,7 +581,7 @@ async function constructClientsInfoSetup(api: ApiPromise, baseUrl: String) {
578581
return res.text();
579582
});
580583

581-
const re = /([a-f0-9]+)\s*[.]\/(([a-z]+)-parachain-metadata-kintsugi-testnet)/g;
584+
const re = /([a-f0-9]+)\s*[.]\/(([a-z]+)-parachain-metadata-kintsugi)/g;
582585
let matches = []
583586
let match;
584587
while ((match = re.exec(checksumFile)) !== null) {

0 commit comments

Comments
 (0)