Skip to content

Commit 4690168

Browse files
committed
feat(bin): network-init.sh: increase delay between all chain ops
remote appchain sequencer ops require more delay
1 parent e066e3d commit 4690168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/network-init.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,13 @@ while [ ! -S ${socket} ]; do sleep 1; done
4040

4141
appchain () {
4242
echo "$@" | tee >(cat >&2) | nc -U -q 0 ${socket}
43-
sleep 0.2s
43+
sleep 1s
4444
}
4545

4646
appchain admin setAdmin
4747
appchain nodes setRegistrationStake 0
4848
appchain nodes openRegistration
4949
appchain networks register ${network_id} ${network_build}
50-
sleep 1s # avoid nonce collision from slower register command (IPFS)
5150
appchain networks setActive ${network_id}
5251

5352
kill ${PID}

0 commit comments

Comments
 (0)