Skip to content

Commit

Permalink
modified utils to make more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
bee344 committed Nov 9, 2023
1 parent 7c13d82 commit dd0ad13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/testNetworkForeignAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const main = async () => {
await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice);

await awaitEpochChange(relayApi);
logWithDate(chalk.magenta('HRMP channels open'));

logWithDate(chalk.magenta('Sending funds to Trappist Sibling on Kusama AssetHub'));

Expand Down
1 change: 1 addition & 0 deletions scripts/testNetworkLiquidAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const main = async () => {
await relayApi.tx.sudo.sudo(relayApi.tx.utility.batchAll(hrmpChannelCalls)).signAndSend(alice);

await awaitEpochChange(relayApi);
logWithDate(chalk.magenta('HRMP channels open'));

const api = await ApiPromise.create({
provider: new WsProvider(KUSAMA_ASSET_HUB_WS_URL),
Expand Down
2 changes: 1 addition & 1 deletion scripts/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ export const awaitEpochChange = async (api: ApiPromise) => {
}

process.stdout.clearLine(0);
logWithDate(chalk.magenta('Epoch changed, HRMP channels opened'), true);
logWithDate(chalk.magenta('Epoch changed'), true);
};
2 changes: 1 addition & 1 deletion zombienet/medium-network.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ chain = "trappist-local"
[types.Header]
number = "u64"
parent_hash = "Hash"
post_state = "Hash"
post_state = "Hash"

0 comments on commit dd0ad13

Please sign in to comment.