Skip to content

Commit 7d693b8

Browse files
authored
Merge branch 'anodar/3569-5-node-available-chains-switch' into anodar/3569-6-chain-aware-presigs
2 parents 739fe13 + af24ba6 commit 7d693b8

324 files changed

Lines changed: 12164 additions & 3542 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cliffignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Commits to exclude from the changelog (read by git-cliff via cliff.toml,
2-
# invoked from scripts/ops/prepare-release.sh and the manual flow in RELEASES.md).
2+
# invoked from scripts/ops/prepare-github-release.sh and the manual flow in RELEASES.md).
33
# The block below is the 502 commits from the threshold-signatures repo that
44
# were merged in 59037a57 ("Merge threshold-signatures repo"). Their full
55
# pre-merge history would otherwise pollute the changelog.

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ insert_final_newline = false
2929
# localnet verify_quote call; the text rules do not apply.
3030
[crates/tee-verifier/tests/fixtures/*.borsh]
3131
end_of_line = unset
32-
insert_final_newline = false
32+
insert_final_newline = unset
3333
trim_trailing_whitespace = false
3434
charset = unset

.github/prompts/pr-review.prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ REVIEW STYLE:
5656
- Flag code-comment quality issues per [engineering-standards.md]. The goal is to avoid comments that may become stale or add little value to the reader.
5757
- Do NOT comment on style, formatting, or naming unless it causes a bug.
5858
- Do NOT restate what the diff already shows
59-
- Do NOT ask for `third-party-licenses/licenses.html` to be regenerated on a dependency or lockfile change. Those notices are refreshed during release preparation by [prepare-release.sh]; drift between releases is expected and no CI job gates it. Stale notices are only a finding on a release PR, where that script should already have refreshed them.
59+
- Do NOT ask for `third-party-licenses/licenses.html` to be regenerated on a dependency or lockfile change. Those notices are refreshed during release preparation by [prepare-github-release.sh]; drift between releases is expected and no CI job gates it. Stale notices are only a finding on a release PR, where that script should already have refreshed them.
6060
- If no critical issues found: approve with a one-line summary
6161
- Sign off with: ✅ (approved) or ⚠️ (issues found)
6262

@@ -109,4 +109,4 @@ Please always use `gh pr comment` to post your review instead.
109109
[AGENTS.md]: ../../AGENTS.md
110110
[CONTRIBUTING.md]: ../../CONTRIBUTING.md
111111
[engineering-standards.md]: ../../docs/engineering-standards.md
112-
[prepare-release.sh]: ../../scripts/ops/prepare-release.sh
112+
[prepare-github-release.sh]: ../../scripts/ops/prepare-github-release.sh

.github/workflows/build_contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
build-contract:
1919
name: "Build contract reproducibly"
20-
runs-on: warp-ubuntu-2404-x64-16x
20+
runs-on: warp-ubuntu-2604-x64-16x
2121

2222
steps:
2323
- name: Checkout repository

.github/workflows/bump-nearcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
jobs:
2020
bump:
21-
runs-on: ubuntu-latest
21+
runs-on: warp-ubuntu-2604-x64-2x
2222
steps:
2323
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2424
with:

.github/workflows/changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
detect:
19-
runs-on: warp-ubuntu-2404-x64-2x
19+
runs-on: warp-ubuntu-2604-x64-2x
2020
permissions:
2121
contents: read
2222
pull-requests: read

.github/workflows/ci.yml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: "Build MPC Node TEE Docker image"
3838
needs: changes
3939
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
40-
runs-on: warp-ubuntu-2404-x64-16x
40+
runs-on: warp-ubuntu-2604-x64-16x
4141
timeout-minutes: 60
4242
permissions:
4343
contents: read
@@ -48,14 +48,13 @@ jobs:
4848
with:
4949
persist-credentials: false
5050

51-
- name: Allow unprivileged user namespaces (needed by repro-env/podman on Ubuntu 24.04)
51+
- name: Allow unprivileged user namespaces (needed by repro-env)
5252
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
5353

5454
- name: Install repro-env
5555
run: |
56-
wget 'https://github.com/kpcyrd/repro-env/releases/download/v0.4.3/repro-env'
57-
echo '2a00b21ac5e990e0c6a0ccbf3b91e34a073660d1f4553b5f3cda2b09cc4d4d8a repro-env' | sha256sum -c -
58-
sudo install -m755 repro-env -t /usr/bin
56+
sudo apt-get update
57+
sudo apt-get install -y repro-env
5958
6059
- name: Build MPC Node binary and image
6160
run: |
@@ -71,7 +70,7 @@ jobs:
7170
name: "Build Rust Launcher Docker image and verify"
7271
needs: changes
7372
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
74-
runs-on: warp-ubuntu-2404-x64-8x
73+
runs-on: warp-ubuntu-2604-x64-8x
7574
timeout-minutes: 60
7675
permissions:
7776
contents: read
@@ -82,24 +81,18 @@ jobs:
8281
with:
8382
persist-credentials: false
8483

85-
- name: Allow unprivileged user namespaces (needed by repro-env/podman on Ubuntu 24.04)
84+
- name: Allow unprivileged user namespaces (needed by repro-env)
8685
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
8786

8887
- name: Install build dependencies
8988
run: |
9089
sudo apt-get update
91-
sudo apt-get install -y skopeo liblzma-dev podman
92-
93-
- name: Install repro-env
94-
run: |
95-
wget 'https://github.com/kpcyrd/repro-env/releases/download/v0.4.3/repro-env'
96-
echo '2a00b21ac5e990e0c6a0ccbf3b91e34a073660d1f4553b5f3cda2b09cc4d4d8a repro-env' | sha256sum -c -
97-
sudo install -m755 repro-env -t /usr/bin
90+
sudo apt-get install -y liblzma-dev repro-env
9891
99-
- name: Build Rust launcher docker image and verify its hash
92+
- name: Build Rust launcher docker image
10093
shell: bash
10194
run: |
102-
./scripts/build-and-verify-rust-launcher-docker-image.sh
95+
./deployment/build-images.sh --rust-launcher
10396
10497
- name: Run Rust launcher non-TEE runtime check
10598
shell: bash
@@ -114,7 +107,7 @@ jobs:
114107
# Skipping at the job level only registers unexpanded template name and
115108
# required checks will be stuck.
116109
if: ${{ !cancelled() }}
117-
runs-on: ${{ matrix.runner || 'warp-ubuntu-2404-x64-16x' }}
110+
runs-on: ${{ matrix.runner || 'warp-ubuntu-2604-x64-16x' }}
118111
timeout-minutes: 60
119112
permissions:
120113
contents: read
@@ -127,7 +120,7 @@ jobs:
127120
- group: "contract"
128121
nextest-args: "--profile=ci-contract -p mpc-contract"
129122
extra-tools: true
130-
runner: warp-ubuntu-2404-x64-32x
123+
runner: warp-ubuntu-2604-x64-32x
131124
- group: "other"
132125
nextest-args: "--profile=ci-other"
133126
extra-tools: true
@@ -166,7 +159,7 @@ jobs:
166159
name: "MPC contract reproducible build"
167160
needs: changes
168161
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
169-
runs-on: warp-ubuntu-2404-x64-16x
162+
runs-on: warp-ubuntu-2604-x64-16x
170163
timeout-minutes: 60
171164
permissions:
172165
contents: read
@@ -201,7 +194,7 @@ jobs:
201194
name: "Nix build mpc-contract"
202195
needs: changes
203196
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
204-
runs-on: warp-ubuntu-2404-x64-16x
197+
runs-on: warp-ubuntu-2604-x64-16x
205198
timeout-minutes: 60
206199
permissions:
207200
contents: read
@@ -231,7 +224,7 @@ jobs:
231224

232225
fast-ci-checks:
233226
name: "Fast CI checks"
234-
runs-on: warp-ubuntu-2404-x64-8x
227+
runs-on: warp-ubuntu-2604-x64-8x
235228
permissions:
236229
contents: read
237230
steps:
@@ -262,7 +255,7 @@ jobs:
262255
name: "MPC E2E tests"
263256
needs: changes
264257
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
265-
runs-on: warp-ubuntu-2404-x64-32x
258+
runs-on: warp-ubuntu-2604-x64-32x
266259
timeout-minutes: 60
267260
permissions:
268261
contents: read
@@ -317,7 +310,7 @@ jobs:
317310
name: "Extra CI checks"
318311
needs: changes
319312
if: ${{ !cancelled() && needs.changes.outputs.code_changed != 'false' }}
320-
runs-on: warp-ubuntu-2404-x64-2x
313+
runs-on: warp-ubuntu-2604-x64-2x
321314
permissions:
322315
contents: read
323316
steps:
@@ -338,7 +331,7 @@ jobs:
338331
check-todo-closed-issues:
339332
name: "Check TODOs for issues closed by this PR"
340333
if: github.event_name == 'pull_request'
341-
runs-on: warp-ubuntu-2404-x64-2x
334+
runs-on: warp-ubuntu-2604-x64-2x
342335
permissions:
343336
contents: read
344337
pull-requests: read

.github/workflows/claude-pr-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
(contains(github.event.comment.body, '@claude review') ||
2020
contains(github.event.comment.body, '@claude code review')))
2121
22-
runs-on: ubuntu-latest
22+
runs-on: warp-ubuntu-2604-x64-2x
2323
permissions:
2424
contents: read
2525
pull-requests: read

.github/workflows/docker_build_node.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
build-and-push-images:
1717
name: "Build and push Docker node image with commit hash"
18-
runs-on: warp-ubuntu-2404-x64-16x
18+
runs-on: warp-ubuntu-2604-x64-16x
1919
environment: production
2020
permissions:
2121
contents: read
@@ -32,19 +32,13 @@ jobs:
3232
username: ${{ secrets.DOCKERHUB_USER }}
3333
password: ${{ secrets.DOCKERHUB_PAT }}
3434

35-
- name: Allow unprivileged user namespaces (needed by repro-env/podman on Ubuntu 24.04)
35+
- name: Allow unprivileged user namespaces (needed by repro-env)
3636
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
3737

3838
- name: Install repro-env
39-
run: |
40-
wget 'https://github.com/kpcyrd/repro-env/releases/download/v0.4.3/repro-env'
41-
echo '2a00b21ac5e990e0c6a0ccbf3b91e34a073660d1f4553b5f3cda2b09cc4d4d8a repro-env' | sha256sum -c -
42-
sudo install -m755 repro-env -t /usr/bin
43-
44-
- name: Install skopeo
4539
run: |
4640
sudo apt-get update
47-
sudo apt-get install -y skopeo
41+
sudo apt-get install -y repro-env
4842
4943
- name: Build and push node image
5044
run: |

.github/workflows/docker_build_node_gcp.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
build-and-push-images:
1717
name: "Build and push Docker node gcp image with commit hash"
18-
runs-on: warp-ubuntu-2404-x64-16x
18+
runs-on: warp-ubuntu-2604-x64-16x
1919
environment: production
2020
permissions:
2121
contents: read
@@ -32,19 +32,13 @@ jobs:
3232
username: ${{ secrets.DOCKERHUB_USER }}
3333
password: ${{ secrets.DOCKERHUB_PAT }}
3434

35-
- name: Allow unprivileged user namespaces (needed by repro-env/podman on Ubuntu 24.04)
35+
- name: Allow unprivileged user namespaces (needed by repro-env)
3636
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
3737

3838
- name: Install repro-env
39-
run: |
40-
wget 'https://github.com/kpcyrd/repro-env/releases/download/v0.4.3/repro-env'
41-
echo '2a00b21ac5e990e0c6a0ccbf3b91e34a073660d1f4553b5f3cda2b09cc4d4d8a repro-env' | sha256sum -c -
42-
sudo install -m755 repro-env -t /usr/bin
43-
44-
- name: Install skopeo
4539
run: |
4640
sudo apt-get update
47-
sudo apt-get install -y skopeo
41+
sudo apt-get install -y repro-env
4842
4943
- name: Build and push node gcp image
5044
run: |

0 commit comments

Comments
 (0)