Closed alexvanin closed 3 years ago
Closed too soon. To remove predefined network map we should remove it from chains and then tick new epoch at the make up
. This should be enough, however if inner ring won't be ready before storage nodes goes up, this won't work. Need some healthcheck here?
Predefined network map was introduced to decrease startup time of environment. We have 5 minute long epochs and there should be at least one epoch tick for storage nodes to bootstrap. It works great for 4 node environment until I you want to change some bootstrap parameters of the node.
With single alphabet node (https://github.com/nspcc-dev/neofs-dev-env/pull/60) and introduction of scripts to change global values (https://github.com/nspcc-dev/neofs-dev-env/pull/64) and exepct for password input (https://github.com/nspcc-dev/neofs-dev-env/issues/70) we can decrease startup time without predefined network map.
To do that we need to add
make tick.epoch
target inneofs_config.mk
. This target will call the script to get current epoch and send tx with invocation ofnetmap.Epoch(current+1)
. It is already done formake update.*
targets, seebin/config.sh
.