We build the line in the expected format, a comma separated list of seed nodes
We inject it in config.toml
We remove the config.toml.bak (created because on Mac you have to create backup file with sed), it is a Mac specificity.
if the binary version is inferior to 0.17, config.toml file will be used and seeds will be found. If it superior, seeds.toml (current behaviour) will be used. Comparing the versions before injecting the line should not be required.
PR to fix setup-node.sh for genesis sync : https://docs.axelar.dev/node/join-genesis
setup-node.sh will call utils.sh.
We build the line in the expected format, a comma separated list of seed nodes
We inject it in config.toml
We remove the config.toml.bak (created because on Mac you have to create backup file with sed), it is a Mac specificity.
if the binary version is inferior to 0.17, config.toml file will be used and seeds will be found. If it superior, seeds.toml (current behaviour) will be used. Comparing the versions before injecting the line should not be required.