Skip to content

Commit 43f7a9b

Browse files
authored
CHORE: Update Lido Oracle Allowlists (#2280)
* CHORE: Update Lido Oracle Allowlists * FIX: Name of Docker Test Instance
1 parent 1f9ebec commit 43f7a9b

File tree

9 files changed

+448
-6
lines changed

9 files changed

+448
-6
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
- name: Converge
3+
hosts: all
4+
vars_files:
5+
- ../../../../defaults/stereum_defaults.yaml
6+
7+
tasks:
8+
- name: "Include update-changes"
9+
include_role:
10+
name: "update-changes"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
#dependency:
3+
# name: galaxy
4+
driver:
5+
name: docker
6+
platforms:
7+
- name: "update-changes--2.4.4--ubuntu-24.04"
8+
image: ubuntu:noble
9+
# - name: "update-changes--2.4.4--ubuntu-24.04"
10+
# image: geerlingguy/docker-centos8-ansible
11+
provisioner:
12+
name: ansible
13+
env:
14+
ANSIBLE_PIPELINING: "True"
15+
lint: |
16+
set -e
17+
yamllint .
18+
ansible-lint .
19+
scenario:
20+
test_sequence:
21+
- destroy
22+
- create
23+
- prepare
24+
- converge
25+
- idempotence
26+
- verify
27+
- destroy
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
- name: Converge
3+
hosts: all
4+
tasks:
5+
- name: "Include update-changes"
6+
include_role:
7+
name: "update-changes"
Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
---
2+
- name: Prepare
3+
hosts: all
4+
tasks:
5+
- name: Make sure Stereum's config path exists
6+
file:
7+
path: "/etc/stereum/services"
8+
state: directory
9+
owner: "root"
10+
group: "root"
11+
mode: 0644
12+
become: yes
13+
14+
- name: Create ValidatorEjectorService config
15+
copy:
16+
dest: "/etc/stereum/services/03f03a11-b23d-4ada-9512-47e3061baaa9.yaml"
17+
owner: "root"
18+
group: "root"
19+
mode: 0644
20+
content: |
21+
service: ValidatorEjectorService
22+
id: 03f03a11-b23d-4ada-9512-47e3061baaa9
23+
configVersion: 1
24+
command: []
25+
entrypoint: []
26+
env:
27+
EXECUTION_NODE: ""
28+
CONSENSUS_NODE: ""
29+
LOCATOR_ADDRESS: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb"
30+
STAKING_MODULE_ID: "1"
31+
OPERATOR_ID: "123456789"
32+
MESSAGES_LOCATION: /app/messages
33+
ORACLE_ADDRESSES_ALLOWLIST: '["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xe57B3792aDCc5da47EF4fF588883F0ee0c9835C9","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0x73181107c8D9ED4ce0bbeF7A0b4ccf3320C41d12","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]'
34+
HTTP_PORT: "8989"
35+
RUN_METRICS: "true"
36+
RUN_HEALTH_CHECK: "true"
37+
DRY_RUN: "false"
38+
image: lidofinance/validator-ejector:1.7.0
39+
ports: []
40+
volumes:
41+
- /opt/stereum/validatorejector-03f03a11-b23d-4ada-9512-47e3061baaa9/messages:/app/messages
42+
user: "2000"
43+
autoupdate: true
44+
network: mainnet
45+
dependencies:
46+
executionClients: []
47+
consensusClients: []
48+
mevboost: []
49+
otherServices: []
50+
become: yes
51+
52+
- name: Create ValidatorEjectorService config
53+
copy:
54+
dest: "/etc/stereum/services/0e7c600b-8bf1-4685-b00b-2638cb26be9c.yaml"
55+
owner: "root"
56+
group: "root"
57+
mode: 0644
58+
content: |
59+
service: ValidatorEjectorService
60+
id: 0e7c600b-8bf1-4685-b00b-2638cb26be9c
61+
configVersion: 1
62+
command: []
63+
entrypoint: []
64+
env:
65+
EXECUTION_NODE: ""
66+
CONSENSUS_NODE: ""
67+
LOCATOR_ADDRESS: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb"
68+
STAKING_MODULE_ID: "1"
69+
OPERATOR_ID: "123456789"
70+
MESSAGES_LOCATION: /app/messages
71+
ORACLE_ADDRESSES_ALLOWLIST: '["0x73181107c8D9ED4ce0bbeF7A0b4ccf3320C41d12","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0xe57B3792aDCc5da47EF4fF588883F0ee0c9835C9","0x285f8537e1dAeEdaf617e96C742F2Cf36d63CcfB"]'
72+
HTTP_PORT: "8989"
73+
RUN_METRICS: "true"
74+
RUN_HEALTH_CHECK: "true"
75+
DRY_RUN: "false"
76+
image: lidofinance/validator-ejector:1.7.0
77+
ports: []
78+
volumes:
79+
- /opt/stereum/validatorejector-0e7c600b-8bf1-4685-b00b-2638cb26be9c/messages:/app/messages
80+
user: "2000"
81+
autoupdate: true
82+
network: mainnet
83+
dependencies:
84+
executionClients: []
85+
consensusClients: []
86+
mevboost: []
87+
otherServices: []
88+
become: yes
89+
90+
- name: Create ValidatorEjectorService config
91+
copy:
92+
dest: "/etc/stereum/services/9041a1ab-2680-0bcb-e633-f934b0e9271a.yaml"
93+
owner: "root"
94+
group: "root"
95+
mode: 0644
96+
content: |
97+
service: ValidatorEjectorService
98+
id: 9041a1ab-2680-0bcb-e633-f934b0e9271a
99+
configVersion: 1
100+
command: []
101+
entrypoint: []
102+
env:
103+
EXECUTION_NODE: ""
104+
CONSENSUS_NODE: ""
105+
LOCATOR_ADDRESS: "0xe2EF9536DAAAEBFf5b1c130957AB3E80056b06D8"
106+
STAKING_MODULE_ID: "1"
107+
OPERATOR_ID: "123456789"
108+
MESSAGES_LOCATION: /app/messages
109+
ORACLE_ADDRESSES_ALLOWLIST: '["0xcA80ee7313A315879f326105134F938676Cfd7a9","0xf03B8DC8762B97F13Ac82e6F94bE3Ed002FF7459","0x1932f53B1457a5987791a40Ba91f71c5Efd5788F","0x99B2B75F490fFC9A29E4E1f5987BE8e30E690aDF","0x219743f1911d84B32599BdC2Df21fC8Dba6F81a2","0xD3b1e36A372Ca250eefF61f90E833Ca070559970","0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5","0x4c75FA734a39f3a21C57e583c1c29942F021C6B7","0xB1cC91878c1831893D39C2Bb0988404ca5Fa7918","0xfe43A8B0b481Ae9fB1862d31826532047d2d538c"]'
110+
HTTP_PORT: "8989"
111+
RUN_METRICS: "true"
112+
RUN_HEALTH_CHECK: "true"
113+
DRY_RUN: "false"
114+
image: lidofinance/validator-ejector:1.7.0
115+
ports: []
116+
volumes:
117+
- /opt/stereum/validatorejector-9041a1ab-2680-0bcb-e633-f934b0e9271a/messages:/app/messages
118+
user: "2000"
119+
autoupdate: true
120+
network: hoodi
121+
dependencies:
122+
executionClients: []
123+
consensusClients: []
124+
mevboost: []
125+
otherServices: []
126+
become: yes
127+
128+
- name: Create ValidatorEjectorService config
129+
copy:
130+
dest: "/etc/stereum/services/c41319d7-a472-4ee8-ba8a-25f1c46a2b91.yaml"
131+
owner: "root"
132+
group: "root"
133+
mode: 0644
134+
content: |
135+
service: ValidatorEjectorService
136+
id: c41319d7-a472-4ee8-ba8a-25f1c46a2b91
137+
configVersion: 1
138+
command: []
139+
entrypoint: []
140+
env:
141+
EXECUTION_NODE: ""
142+
CONSENSUS_NODE: ""
143+
LOCATOR_ADDRESS: "0xe2EF9536DAAAEBFf5b1c130957AB3E80056b06D8"
144+
STAKING_MODULE_ID: "1"
145+
OPERATOR_ID: "123456789"
146+
MESSAGES_LOCATION: /app/messages
147+
ORACLE_ADDRESSES_ALLOWLIST: '["0xcA80ee7313A315879f326105134F938676Cfd7a9","0xf03B8DC8762B97F13Ac82e6F94bE3Ed002FF7459","0x1932f53B1457a5987791a40Ba91f71c5Efd5788F","0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5","0x99B2B75F490fFC9A29E4E1f5987BE8e30E690aDF","0x219743f1911d84B32599BdC2Df21fC8Dba6F81a2","0xD3b1e36A372Ca250eefF61f90E833Ca070559970","0x4c75FA734a39f3a21C57e583c1c29942F021C6B7","0xB1cC91878c1831893D39C2Bb0988404ca5Fa7918","0xfe43A8B0b481Ae9fB1862d31826532047d2d538c","0x43C45C2455C49eed320F463fF4f1Ece3D2BF5aE2"]'
148+
HTTP_PORT: "8989"
149+
RUN_METRICS: "true"
150+
RUN_HEALTH_CHECK: "true"
151+
DRY_RUN: "false"
152+
image: lidofinance/validator-ejector:1.7.0
153+
ports: []
154+
volumes:
155+
- /opt/stereum/validatorejector-c41319d7-a472-4ee8-ba8a-25f1c46a2b91/messages:/app/messages
156+
user: "2000"
157+
autoupdate: true
158+
network: hoodi
159+
dependencies:
160+
executionClients: []
161+
consensusClients: []
162+
mevboost: []
163+
otherServices: []
164+
become: yes
165+
166+
- name: Create ValidatorEjectorService config
167+
copy:
168+
dest: "/etc/stereum/services/fccd26c2-e815-6612-f22d-c2a7ff266111.yaml"
169+
owner: "root"
170+
group: "root"
171+
mode: 0644
172+
content: |
173+
service: ValidatorEjectorService
174+
id: fccd26c2-e815-6612-f22d-c2a7ff266111
175+
configVersion: 1
176+
command: []
177+
entrypoint: []
178+
env:
179+
EXECUTION_NODE: ""
180+
CONSENSUS_NODE: ""
181+
LOCATOR_ADDRESS: "0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8"
182+
STAKING_MODULE_ID: "1"
183+
OPERATOR_ID: "123456789"
184+
MESSAGES_LOCATION: /app/messages
185+
ORACLE_ADDRESSES_ALLOWLIST: '["0x12A1D74F8697b9f4F1eEBb0a9d0FB6a751366399",
186+
"0xD892c09b556b547c80B7d8c8cB8d75bf541B2284",
187+
"0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5",
188+
"0x31fa51343297FFce0CC1E67a50B2D3428057D1b1",
189+
"0x81E411f1BFDa43493D7994F82fb61A415F6b8Fd4",
190+
"0x4c75FA734a39f3a21C57e583c1c29942F021C6B7",
191+
"0xD3b1e36A372Ca250eefF61f90E833Ca070559970",
192+
"0xF0F23944EfC5A63c53632C571E7377b85d5E6B6f",
193+
"0xb29dD2f6672C0DFF2d2f173087739A42877A5172",
194+
"0xfe43A8B0b481Ae9fB1862d31826532047d2d538c"]'
195+
HTTP_PORT: "8989"
196+
RUN_METRICS: "true"
197+
RUN_HEALTH_CHECK: "true"
198+
DRY_RUN: "false"
199+
image: lidofinance/validator-ejector:1.7.0
200+
ports: []
201+
volumes:
202+
- /opt/stereum/validatorejector-fccd26c2-e815-6612-f22d-c2a7ff266111/messages:/app/messages
203+
user: "2000"
204+
autoupdate: true
205+
network: holesky
206+
dependencies:
207+
executionClients: []
208+
consensusClients: []
209+
mevboost: []
210+
otherServices: []
211+
become: yes
212+
213+
- name: Create ValidatorEjectorService config
214+
copy:
215+
dest: "/etc/stereum/services/840d4d1b-150d-45b8-8aba-957ce08b8f03.yaml"
216+
owner: "root"
217+
group: "root"
218+
mode: 0644
219+
content: |
220+
service: ValidatorEjectorService
221+
id: 840d4d1b-150d-45b8-8aba-957ce08b8f03
222+
configVersion: 1
223+
command: []
224+
entrypoint: []
225+
env:
226+
EXECUTION_NODE: ""
227+
CONSENSUS_NODE: ""
228+
LOCATOR_ADDRESS: "0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8"
229+
STAKING_MODULE_ID: "1"
230+
OPERATOR_ID: "123456789"
231+
MESSAGES_LOCATION: /app/messages
232+
ORACLE_ADDRESSES_ALLOWLIST: '["0x12A1D74F8697b9f4F1eEBb0a9d0FB6a751366399",
233+
"0xD892c09b556b547c80B7d8c8cB8d75bf541B2284"]'
234+
HTTP_PORT: "8989"
235+
RUN_METRICS: "true"
236+
RUN_HEALTH_CHECK: "true"
237+
DRY_RUN: "false"
238+
image: lidofinance/validator-ejector:1.7.0
239+
ports: []
240+
volumes:
241+
- /opt/stereum/validatorejector-840d4d1b-150d-45b8-8aba-957ce08b8f03/messages:/app/messages
242+
user: "2000"
243+
autoupdate: true
244+
network: holesky
245+
dependencies:
246+
executionClients: []
247+
consensusClients: []
248+
mevboost: []
249+
otherServices: []
250+
become: yes
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
- name: Verify
3+
hosts: all
4+
gather_facts: false
5+
tasks:
6+
# ValidatorEjectorService1
7+
- name: Read ValidatorEjectorService file
8+
slurp:
9+
src: "/etc/stereum/services/03f03a11-b23d-4ada-9512-47e3061baaa9.yaml"
10+
register: Ejector_service_configuration1_raw
11+
12+
# ValidatorEjectorService2
13+
- name: Read ValidatorEjectorService file
14+
slurp:
15+
src: "/etc/stereum/services/0e7c600b-8bf1-4685-b00b-2638cb26be9c.yaml"
16+
register: Ejector_service_configuration2_raw
17+
18+
# ValidatorEjectorService3
19+
- name: Read ValidatorEjectorService file
20+
slurp:
21+
src: "/etc/stereum/services/9041a1ab-2680-0bcb-e633-f934b0e9271a.yaml"
22+
register: Ejector_service_configuration3_raw
23+
24+
# ValidatorEjectorService4
25+
- name: Read ValidatorEjectorService file
26+
slurp:
27+
src: "/etc/stereum/services/c41319d7-a472-4ee8-ba8a-25f1c46a2b91.yaml"
28+
register: Ejector_service_configuration4_raw
29+
30+
# ValidatorEjectorService5
31+
- name: Read ValidatorEjectorService file
32+
slurp:
33+
src: "/etc/stereum/services/fccd26c2-e815-6612-f22d-c2a7ff266111.yaml"
34+
register: Ejector_service_configuration5_raw
35+
36+
# ValidatorEjectorService6
37+
- name: Read ValidatorEjectorService file
38+
slurp:
39+
src: "/etc/stereum/services/840d4d1b-150d-45b8-8aba-957ce08b8f03.yaml"
40+
register: Ejector_service_configuration6_raw
41+
42+
- name: Parse Service configurations
43+
set_fact:
44+
Ejector_service_configuration1: "{{ Ejector_service_configuration1_raw['content'] | b64decode | from_yaml }}"
45+
Ejector_service_configuration2: "{{ Ejector_service_configuration2_raw['content'] | b64decode | from_yaml }}"
46+
Ejector_service_configuration3: "{{ Ejector_service_configuration3_raw['content'] | b64decode | from_yaml }}"
47+
Ejector_service_configuration4: "{{ Ejector_service_configuration4_raw['content'] | b64decode | from_yaml }}"
48+
Ejector_service_configuration5: "{{ Ejector_service_configuration5_raw['content'] | b64decode | from_yaml }}"
49+
Ejector_service_configuration6: "{{ Ejector_service_configuration6_raw['content'] | b64decode | from_yaml }}"
50+
mainnet_oracle_allowlist: '["0x73181107c8D9ED4ce0bbeF7A0b4ccf3320C41d12","0x285f8537e1dAeEdaf617e96C742F2Cf36d63CcfB","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0xe57B3792aDCc5da47EF4fF588883F0ee0c9835C9","0x4118DAD7f348A4063bD15786c299De2f3B1333F3"]'
51+
holesky_oracle_allowlist: '["0x12A1D74F8697b9f4F1eEBb0a9d0FB6a751366399","0xD892c09b556b547c80B7d8c8cB8d75bf541B2284"]'
52+
hoodi_oracle_allowlist: '["0xcA80ee7313A315879f326105134F938676Cfd7a9","0xf03B8DC8762B97F13Ac82e6F94bE3Ed002FF7459","0x1932f53B1457a5987791a40Ba91f71c5Efd5788F","0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5","0x99B2B75F490fFC9A29E4E1f5987BE8e30E690aDF","0x219743f1911d84B32599BdC2Df21fC8Dba6F81a2","0xD3b1e36A372Ca250eefF61f90E833Ca070559970","0x4c75FA734a39f3a21C57e583c1c29942F021C6B7","0x948A62cc0414979dc7aa9364BA5b96ECb29f8736","0xfe43A8B0b481Ae9fB1862d31826532047d2d538c","0x43C45C2455C49eed320F463fF4f1Ece3D2BF5aE2"]'
53+
54+
- debug:
55+
msg: "{{ Ejector_service_configuration1 }}"
56+
- debug:
57+
msg: "{{ Ejector_service_configuration1_raw['content'] | b64decode }}"
58+
59+
- debug:
60+
msg: "{{ Ejector_service_configuration2 }}"
61+
- debug:
62+
msg: "{{ Ejector_service_configuration2_raw['content'] | b64decode }}"
63+
64+
- debug:
65+
msg: "{{ Ejector_service_configuration3 }}"
66+
- debug:
67+
msg: "{{ Ejector_service_configuration3_raw['content'] | b64decode }}"
68+
69+
- debug:
70+
msg: "{{ Ejector_service_configuration4 }}"
71+
- debug:
72+
msg: "{{ Ejector_service_configuration4_raw['content'] | b64decode }}"
73+
74+
- debug:
75+
msg: "{{ Ejector_service_configuration5 }}"
76+
- debug:
77+
msg: "{{ Ejector_service_configuration5_raw['content'] | b64decode }}"
78+
79+
- debug:
80+
msg: "{{ Ejector_service_configuration6 }}"
81+
- debug:
82+
msg: "{{ Ejector_service_configuration6_raw['content'] | b64decode }}"
83+
84+
- assert:
85+
that:
86+
- Ejector_service_configuration1.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == mainnet_oracle_allowlist | from_yaml
87+
- Ejector_service_configuration2.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == mainnet_oracle_allowlist | from_yaml
88+
- Ejector_service_configuration3.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == hoodi_oracle_allowlist | from_yaml
89+
- Ejector_service_configuration4.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == hoodi_oracle_allowlist | from_yaml
90+
- Ejector_service_configuration5.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == holesky_oracle_allowlist | from_yaml
91+
- Ejector_service_configuration6.env.ORACLE_ADDRESSES_ALLOWLIST | from_yaml == holesky_oracle_allowlist | from_yaml
92+
# EOF

0 commit comments

Comments
 (0)