We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a78edd commit c89c57dCopy full SHA for c89c57d
scripts/update-env.ts
@@ -1,6 +1,7 @@
1
import fs from 'node:fs'
2
import path, { dirname } from 'node:path'
3
import { fileURLToPath } from 'node:url'
4
+import { cryptoWaitReady } from '@polkadot/util-crypto'
5
6
const __filename = fileURLToPath(import.meta.url)
7
import * as chains from '@e2e-test/networks/chains'
@@ -19,6 +20,8 @@ const readEnvFile = () => {
19
20
}
21
22
const main = async () => {
23
+ await cryptoWaitReady()
24
+
25
let envFile = readEnvFile()
26
27
// comment out current ones
0 commit comments