Skip to content

Commit c89c57d

Browse files
committed
avoid testingPairs issue
1 parent 6a78edd commit c89c57d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/update-env.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import fs from 'node:fs'
22
import path, { dirname } from 'node:path'
33
import { fileURLToPath } from 'node:url'
4+
import { cryptoWaitReady } from '@polkadot/util-crypto'
45

56
const __filename = fileURLToPath(import.meta.url)
67
import * as chains from '@e2e-test/networks/chains'
@@ -19,6 +20,8 @@ const readEnvFile = () => {
1920
}
2021

2122
const main = async () => {
23+
await cryptoWaitReady()
24+
2225
let envFile = readEnvFile()
2326

2427
// comment out current ones

0 commit comments

Comments
 (0)