Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bee344 committed Nov 9, 2023
1 parent dd42ee7 commit cdb8ae9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions scripts/testNetworkForeignAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { Keyring } from '@polkadot/keyring';
import { cryptoWaitReady } from '@polkadot/util-crypto';
import chalk from 'chalk';

import { KUSAMA_ASSET_HUB_WS_URL, TRAPPIST_WS_URL, ROCOCO_ALICE_WS_URL } from './consts';
import { awaitBlockProduction, delay, logWithDate, awaitEpochChange } from './util';
import { KUSAMA_ASSET_HUB_WS_URL, ROCOCO_ALICE_WS_URL, TRAPPIST_WS_URL } from './consts';
import { awaitBlockProduction, awaitEpochChange, delay, logWithDate } from './util';

const fAssetSetMetadataCall = (assetHubApi: ApiPromise): `0x${string}` => {
const trappistMultiLocation = {
Expand Down Expand Up @@ -198,13 +198,13 @@ const main = async () => {

logWithDate(chalk.blue('Opening HRMP Channels'));

let hrmpChannelCalls = [];
const hrmpChannelCalls = [];

hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1000), Number(1836)));
hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1836), Number(1000)));

await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice);

await awaitEpochChange(relayApi);

logWithDate(chalk.magenta('Sending funds to Trappist Sibling on Kusama AssetHub'));
Expand Down
4 changes: 2 additions & 2 deletions scripts/testNetworkLiquidAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ const main = async () => {

logWithDate(chalk.blue('Opening HRMP Channels'));

let hrmpChannelCalls = [];
const hrmpChannelCalls = [];

hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1000), Number(1836)));
hrmpChannelCalls.push(openHrmpChannels(relayApi, Number(1836), Number(1000)));

await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice);

await awaitEpochChange(relayApi);

const api = await ApiPromise.create({
Expand Down

0 comments on commit cdb8ae9

Please sign in to comment.