Fix patching of config.toml in testnet generation

parent abfaf45a
Pipeline #36115838 passed with stages
in 20 minutes and 15 seconds
......@@ -82,9 +82,9 @@ $(ERCOIN_CONFIG) $(ERCOIN_CONFIG)/priv_validator.json $(ERCOIN_CONFIG)/config.to
$(gen_verbose) tendermint init --home $(ERCOIN_HOME)
$(ERCOIN_CONFIG)/config.toml.patched: $(ERCOIN_CONFIG)/config.toml
$(verbose) sed -i s'/timeout_commit = .*/timeout_commit = 3000/' $<
$(verbose) sed -i s'/create_empty_blocks = .*/create_empty_blocks = false/' $<
$(verbose) sed -i s'/create_empty_blocks_interval = .*/create_empty_blocks_interval = 900/' $<
$(verbose) sed -i s'/^timeout_commit = .*/timeout_commit = 3000/' $<
$(verbose) sed -i s'/^create_empty_blocks = .*/create_empty_blocks = false/' $<
$(verbose) sed -i s'/^create_empty_blocks_interval = .*/create_empty_blocks_interval = 900/' $<
$(gen_verbose) touch $@
.PHONY: filter-genesis-txs no-bad-mix-app-files testnet
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment