These scripts are used by tests to wait for joystream-node come up even after the process/service is up it may take some time to initialize genesis state.
@@ -32,7 +32,7 @@ async function main() {
const provider = new WsProvider('ws://127.0.0.1:9944')
let api: ApiPromise
- let retry = 3
+ let retry = 6
while (true) {
try {
api = await ApiPromise.create({ provider, types })
@@ -12,7 +12,7 @@ async function main() {
// Create the API and wait until ready