Skip to content

Commit

Permalink
chore: small changes test testnet init
Browse files Browse the repository at this point in the history
  • Loading branch information
sander2 committed Jun 7, 2023
1 parent 8eb28a8 commit 28b69fa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scripts/init-testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ function constructFundingSetup(api: ApiPromise) {
{ ForeignAsset: 3 }, // LKSM
{ ForeignAsset: 4 }, // VKSM
{ ForeignAsset: 5 }, // SKSM
{ ForeignAsset: 6 }, // ETH
{ ForeignAsset: 7 }, // AUSD
{ ForeignAsset: 8 }, // KAR
];
const fundNormalTokens = tokens.map((token) => {
return [
Expand Down Expand Up @@ -484,15 +487,15 @@ function constructForeignAssetSetup(api: ApiPromise) {
symbol: "LKSM",
existentialDeposit: 0,
location: {
V1: {
V3: {
parents: 1,
interior: {
X2: [
{
Parachain: 2000
},
{
GeneralKey: "0x0083"
GeneralKey: "0x008300000000000000000000000000000000000000000000000000000000000000"
}
]
}
Expand All @@ -508,15 +511,15 @@ function constructForeignAssetSetup(api: ApiPromise) {
symbol: "VKSM",
existentialDeposit: 0,
location: {
V1: {
V3: {
parents: 1,
interior: {
X2: [
{
Parachain: 2001
},
{
GeneralKey: "0x0104"
GeneralKey: "0x010400000000000000000000000000000000000000000000000000000000000000"
}
]
}
Expand Down Expand Up @@ -578,7 +581,7 @@ async function constructClientsInfoSetup(api: ApiPromise, baseUrl: String) {
return res.text();
});

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

0 comments on commit 28b69fa

Please sign in to comment.