Skip to content

Commit be8f74c

Browse files
minor update
1 parent 5c1651c commit be8f74c

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,5 @@ Because this repo tries to accommodate as many Tendermint-based chains as possib
141141
| Axelar | Some extra lines at the end of app.toml | Delete extra lines and adjust some settings these extra lines are supposed to change |
142142
| Canto | genesis file needs to be unwrapped from .result.genesis | Unwrap genesis with jq command |
143143
| Injective | Some extra lines at the end of app.toml | Delete extra lines and adjust some settings these extra lines are supposed to change |
144+
| Kichain | Some extra lines at the end of app.toml | Delete extra lines and adjust some settings these extra lines are supposed to change |
144145
| Celestia testnet | inconsistent config.toml file variable naming convention | Manually adjust config.toml file |

roles/node_initialize/tasks/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
when: genesis_processing is defined and genesis_processing == "targz"
5656

5757
- name: Set chain_id
58-
command: "{{ user_dir }}/go/bin/{{ daemon }} config chain-id {{ chain_id }}"
59-
ignore_errors: yes
58+
command: '{{ user_dir }}/go/bin/{{ daemon }} config chain-id {{ chain_id }}'
59+
ignore_errors: true
6060

6161
- name: Set local node
62-
command: "{{ user_dir }}/go/bin/{{ daemon }} config node tcp://localhost:{{ custom_port_prefix }}57"
63-
ignore_errors: yes
62+
command: '{{ user_dir }}/go/bin/{{ daemon }} config node tcp://localhost:{{ custom_port_prefix }}57'
63+
ignore_errors: true

roles/support_config_update/tasks/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
---
2+
- name: register public ip
3+
uri:
4+
url: 'https://api.ipify.org?format=json'
5+
register: public_ip
6+
7+
- name: Set up external address
8+
lineinfile:
9+
path: '{{ user_dir }}/{{ folder }}/config/config.toml'
10+
regexp: 'external_address = "'
11+
line: 'external_address = "{{ public_ip.json.ip }}:{{ custom_port_prefix }}56"'
12+
state: present
13+
214
- name: Adjust config.toml port
315
lineinfile:
416
path: '{{ user_dir }}/{{ folder }}/config/config.toml'
@@ -28,6 +40,10 @@
2840
become: true
2941
command: 'ufw allow {{ custom_port_prefix }}56/tcp'
3042

43+
- name: Set local node
44+
command: '{{ user_dir }}/go/bin/{{ daemon }} config node tcp://localhost:{{ custom_port_prefix }}57'
45+
ignore_errors: true
46+
3147
- name: start cosmovisor service
3248
become: true
3349
systemd:

0 commit comments

Comments
 (0)