Skip to content

Commit 8c02917

Browse files
yito88grarcoljoss17
authored
For Namada v101.0.0 (#4342)
* update msrv and revert setup-protoc * rust 1.81.0 * for clippy with rust 1.86.0 * Updates query to the new `applied` endpoint (#57) Co-authored-by: yito88 <[email protected]> * for Namada v101.0.0 * update rust version to 1.83.0 * add changelog * add a breaking changes entry * Update .changelog/unreleased/breaking-changes/4342-namada-v101.md Co-authored-by: Luca Joss <[email protected]> Signed-off-by: Yuji Ito <[email protected]> * bump ubuntu --------- Signed-off-by: Yuji Ito <[email protected]> Co-authored-by: Marco Granelli <[email protected]> Co-authored-by: Luca Joss <[email protected]>
1 parent 36d6510 commit 8c02917

File tree

27 files changed

+438
-438
lines changed

27 files changed

+438
-438
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Update for Namada v101.0.0. This update is not compatible with Namada v1.1.x.
2+
([\#4342](https://github.com/informalsystems/hermes/issues/4342))
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Update for Namada v101.0.0
2+
([\#4342](https://github.com/informalsystems/hermes/issues/4342))

.github/workflows/cargo-doc.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ jobs:
3030
with:
3131
toolchain: nightly-2024-10-15
3232
- name: Install Protoc
33-
uses: heliaxdev/setup-protoc@v2
33+
uses: arduino/setup-protoc@v3
3434
with:
35-
version: "25.0"
3635
repo-token: ${{ secrets.GITHUB_TOKEN }}
3736
- name: Build API documentation
3837
uses: actions-rs/cargo@v1

.github/workflows/guide-templates.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
with:
3333
toolchain: stable
3434
- name: Install Protoc
35-
uses: heliaxdev/setup-protoc@v2
35+
uses: arduino/setup-protoc@v3
3636
with:
37-
version: "25.0"
3837
repo-token: ${{ secrets.GITHUB_TOKEN }}
3938
- name: Check templates
4039
run: bash scripts/auto_gen_templates.sh --mode "check"

.github/workflows/integration.yaml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ concurrency:
3939

4040
jobs:
4141
integration-test:
42-
runs-on: ubuntu-20.04
42+
runs-on: ubuntu-24.04
4343
timeout-minutes: 180
4444
strategy:
4545
fail-fast: false
@@ -119,9 +119,8 @@ jobs:
119119
with:
120120
toolchain: stable
121121
- name: Install Protoc
122-
uses: heliaxdev/setup-protoc@v2
122+
uses: arduino/setup-protoc@v3
123123
with:
124-
version: "25.0"
125124
repo-token: ${{ secrets.GITHUB_TOKEN }}
126125
- uses: actions-rs/cargo@v1
127126
with:
@@ -144,7 +143,7 @@ jobs:
144143
--features=${{ matrix.chain.features }}
145144
146145
ordered-channel-test:
147-
runs-on: ubuntu-20.04
146+
runs-on: ubuntu-24.04
148147
timeout-minutes: 60
149148
steps:
150149
- uses: actions/checkout@v4
@@ -162,9 +161,8 @@ jobs:
162161
with:
163162
toolchain: stable
164163
- name: Install Protoc
165-
uses: heliaxdev/setup-protoc@v2
164+
uses: arduino/setup-protoc@v3
166165
with:
167-
version: "25.0"
168166
repo-token: ${{ secrets.GITHUB_TOKEN }}
169167
- uses: actions-rs/cargo@v1
170168
with:
@@ -183,7 +181,7 @@ jobs:
183181
--features ordered test_ordered_channel
184182
185183
interchain-security-ica:
186-
runs-on: ubuntu-20.04
184+
runs-on: ubuntu-24.04
187185
strategy:
188186
fail-fast: false
189187
matrix:
@@ -210,9 +208,8 @@ jobs:
210208
with:
211209
toolchain: stable
212210
- name: Install Protoc
213-
uses: heliaxdev/setup-protoc@v2
211+
uses: arduino/setup-protoc@v3
214212
with:
215-
version: "25.0"
216213
repo-token: ${{ secrets.GITHUB_TOKEN }}
217214
- uses: actions-rs/cargo@v1
218215
with:
@@ -234,7 +231,7 @@ jobs:
234231
235232
interchain-security-icq:
236233
if: false # Disable CCQ test
237-
runs-on: ubuntu-20.04
234+
runs-on: ubuntu-24.04
238235
strategy:
239236
fail-fast: false
240237
matrix:
@@ -258,9 +255,8 @@ jobs:
258255
with:
259256
toolchain: stable
260257
- name: Install Protoc
261-
uses: heliaxdev/setup-protoc@v2
258+
uses: arduino/setup-protoc@v3
262259
with:
263-
version: "25.0"
264260
repo-token: ${{ secrets.GITHUB_TOKEN }}
265261
- uses: actions-rs/cargo@v1
266262
with:
@@ -280,7 +276,7 @@ jobs:
280276
--features interchain-security,ics31 interchain_security::
281277
282278
celestia-to-gaia:
283-
runs-on: ubuntu-20.04
279+
runs-on: ubuntu-24.04
284280
strategy:
285281
fail-fast: false
286282
matrix:
@@ -305,9 +301,8 @@ jobs:
305301
with:
306302
toolchain: stable
307303
- name: Install Protoc
308-
uses: heliaxdev/setup-protoc@v2
304+
uses: arduino/setup-protoc@v3
309305
with:
310-
version: "25.0"
311306
repo-token: ${{ secrets.GITHUB_TOKEN }}
312307
- uses: actions-rs/cargo@v1
313308
with:
@@ -330,7 +325,7 @@ jobs:
330325
331326
# Run the transfer test using IPv6 for gRPC endpoint
332327
ipv6-grpc-endpoint:
333-
runs-on: ubuntu-20.04
328+
runs-on: ubuntu-24.04
334329
strategy:
335330
fail-fast: false
336331
matrix:
@@ -354,9 +349,8 @@ jobs:
354349
with:
355350
toolchain: stable
356351
- name: Install Protoc
357-
uses: heliaxdev/setup-protoc@v2
352+
uses: arduino/setup-protoc@v3
358353
with:
359-
version: "25.0"
360354
repo-token: ${{ secrets.GITHUB_TOKEN }}
361355
- uses: actions-rs/cargo@v1
362356
with:

.github/workflows/misbehaviour.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ concurrency:
3737

3838
jobs:
3939
light-client-attack:
40-
runs-on: ubuntu-20.04
40+
runs-on: ubuntu-24.04
4141
timeout-minutes: 20
4242
strategy:
4343
fail-fast: false
@@ -81,9 +81,8 @@ jobs:
8181
with:
8282
toolchain: stable
8383
- name: Install Protoc
84-
uses: heliaxdev/setup-protoc@v2
84+
uses: arduino/setup-protoc@v3
8585
with:
86-
version: "25.0"
8786
repo-token: ${{ secrets.GITHUB_TOKEN }}
8887
- name: Build Hermes
8988
uses: actions-rs/cargo@v1
@@ -95,7 +94,7 @@ jobs:
9594
nix shell .#${{ matrix.chain.package }} -c bash misbehaviour_test.sh
9695
9796
ics-light-client-attack:
98-
runs-on: ubuntu-20.04
97+
runs-on: ubuntu-24.04
9998
timeout-minutes: 20
10099
strategy:
101100
fail-fast: false
@@ -138,9 +137,8 @@ jobs:
138137
with:
139138
toolchain: stable
140139
- name: Install Protoc
141-
uses: heliaxdev/setup-protoc@v2
140+
uses: arduino/setup-protoc@v3
142141
with:
143-
version: "25.0"
144142
repo-token: ${{ secrets.GITHUB_TOKEN }}
145143
- name: Build Hermes
146144
uses: actions-rs/cargo@v1
@@ -152,7 +150,7 @@ jobs:
152150
nix shell .#cometbft .#${{ matrix.chain.package }} -c bash light_client_attack_test.sh
153151
154152
ics-light-client-attack-freeze:
155-
runs-on: ubuntu-20.04
153+
runs-on: ubuntu-24.04
156154
timeout-minutes: 20
157155
strategy:
158156
fail-fast: false
@@ -195,9 +193,8 @@ jobs:
195193
with:
196194
toolchain: stable
197195
- name: Install Protoc
198-
uses: heliaxdev/setup-protoc@v2
196+
uses: arduino/setup-protoc@v3
199197
with:
200-
version: "25.0"
201198
repo-token: ${{ secrets.GITHUB_TOKEN }}
202199
- name: Build Hermes
203200
uses: actions-rs/cargo@v1
@@ -209,7 +206,7 @@ jobs:
209206
nix shell .#${{ matrix.chain.package }} -c bash light_client_attack_freeze_test.sh
210207
211208
ics-double-sign:
212-
runs-on: ubuntu-20.04
209+
runs-on: ubuntu-24.04
213210
timeout-minutes: 20
214211
strategy:
215212
fail-fast: false
@@ -252,9 +249,8 @@ jobs:
252249
with:
253250
toolchain: stable
254251
- name: Install Protoc
255-
uses: heliaxdev/setup-protoc@v2
252+
uses: arduino/setup-protoc@v3
256253
with:
257-
version: "25.0"
258254
repo-token: ${{ secrets.GITHUB_TOKEN }}
259255
- name: Build Hermes
260256
uses: actions-rs/cargo@v1

.github/workflows/multi-chains.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ concurrency:
4545

4646
jobs:
4747
multi-chains-test:
48-
runs-on: ubuntu-20.04
48+
runs-on: ubuntu-24.04
4949
if: |
5050
github.ref == 'refs/heads/master' || (
5151
(github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize') &&
@@ -100,9 +100,8 @@ jobs:
100100
with:
101101
toolchain: stable
102102
- name: Install Protoc
103-
uses: heliaxdev/setup-protoc@v2
103+
uses: arduino/setup-protoc@v3
104104
with:
105-
version: "25.0"
106105
repo-token: ${{ secrets.GITHUB_TOKEN }}
107106
- uses: actions-rs/cargo@v1
108107
with:

.github/workflows/namada.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: actions/checkout@v4
4949
with:
5050
repository: anoma/namada
51-
ref: v1.1.1
51+
ref: v101.0.0
5252
path: namada
5353
- name: Retrieve Namada repository path
5454
id: namada-repo-path
@@ -70,9 +70,8 @@ jobs:
7070
- name: Install libudev
7171
run: sudo apt-get update && sudo apt-get -y install libudev-dev
7272
- name: Install Protoc
73-
uses: heliaxdev/setup-protoc@v2
73+
uses: arduino/setup-protoc@v3
7474
with:
75-
version: "25.0"
7675
repo-token: ${{ secrets.GITHUB_TOKEN }}
7776
- uses: actions-rs/cargo@v1
7877
with:
@@ -91,7 +90,7 @@ jobs:
9190
env:
9291
OPERATING_SYSTEM: Linux
9392
run: |
94-
release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases/198667141" | grep "browser_download_url" | cut -d '"' -f 4 | grep "$OPERATING_SYSTEM")
93+
release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases/212279570" | grep "browser_download_url" | cut -d '"' -f 4 | grep "$OPERATING_SYSTEM")
9594
wget "$release_url"
9695
tar -xzvf namada*.tar.gz
9796
cp ./namada*/namadac ~/local/bin/namadac
@@ -146,7 +145,7 @@ jobs:
146145
uses: actions/checkout@v4
147146
with:
148147
repository: anoma/namada
149-
ref: v1.1.1
148+
ref: v101.0.0
150149
path: namada
151150
- name: Retrieve Namada repository path
152151
id: namada-repo-path
@@ -158,9 +157,8 @@ jobs:
158157
- name: Install libudev
159158
run: sudo apt-get update && sudo apt-get -y install libudev-dev
160159
- name: Install Protoc
161-
uses: heliaxdev/setup-protoc@v2
160+
uses: arduino/setup-protoc@v3
162161
with:
163-
version: "25.0"
164162
repo-token: ${{ secrets.GITHUB_TOKEN }}
165163
- uses: actions-rs/cargo@v1
166164
with:
@@ -179,7 +177,7 @@ jobs:
179177
env:
180178
OPERATING_SYSTEM: Linux
181179
run: |
182-
release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases/198667141" | grep "browser_download_url" | cut -d '"' -f 4 | grep "$OPERATING_SYSTEM")
180+
release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases/212279570" | grep "browser_download_url" | cut -d '"' -f 4 | grep "$OPERATING_SYSTEM")
183181
wget "$release_url"
184182
tar -xzvf namada*.tar.gz
185183
cp ./namada*/namadac ~/local/bin/namadac

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ jobs:
1515
with:
1616
toolchain: stable
1717
- name: Install Protoc
18-
uses: heliaxdev/setup-protoc@v2
18+
uses: arduino/setup-protoc@v3
1919
with:
20-
version: "25.0"
2120
repo-token: ${{ secrets.GITHUB_TOKEN }}
2221
- uses: katyo/publish-crates@v2
2322
with:

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v4
3434
- name: Install Protoc
35-
uses: heliaxdev/setup-protoc@v2
35+
uses: arduino/setup-protoc@v3
3636
with:
37-
version: "25.0"
3837
repo-token: ${{ secrets.GITHUB_TOKEN }}
3938
- uses: taiki-e/upload-rust-binary-action@v1
4039
with:

0 commit comments

Comments
 (0)