subscribe to all subnets in minimal local testnet (#2799)
This commit is contained in:
parent
ff3766e79b
commit
a67970e9a4
|
@ -416,6 +416,14 @@ for NUM_NODE in $(seq 0 $(( NUM_NODES - 1 ))); do
|
||||||
BOOTSTRAP_ARG="--netkey-file=${NETWORK_KEYFILE} --insecure-netkey-password=true --subscribe-all-subnets"
|
BOOTSTRAP_ARG="--netkey-file=${NETWORK_KEYFILE} --insecure-netkey-password=true --subscribe-all-subnets"
|
||||||
else
|
else
|
||||||
BOOTSTRAP_ARG="--bootstrap-file=${BOOTSTRAP_ENR}"
|
BOOTSTRAP_ARG="--bootstrap-file=${BOOTSTRAP_ENR}"
|
||||||
|
|
||||||
|
if [[ "${CONST_PRESET}" == "minimal" ]]; then
|
||||||
|
# The fast epoch and slot times in the minimal config might cause the
|
||||||
|
# mesh to break down due to re-subscriptions happening within the prune
|
||||||
|
# backoff time
|
||||||
|
BOOTSTRAP_ARG="${BOOTSTRAP_ARG} --subscribe-all-subnets"
|
||||||
|
fi
|
||||||
|
|
||||||
# Wait for the master node to write out its address file
|
# Wait for the master node to write out its address file
|
||||||
START_TIMESTAMP=$(date +%s)
|
START_TIMESTAMP=$(date +%s)
|
||||||
while [[ ! -f "${BOOTSTRAP_ENR}" ]]; do
|
while [[ ! -f "${BOOTSTRAP_ENR}" ]]; do
|
||||||
|
|
Loading…
Reference in New Issue