Skip to content

Commit 2c153d7

Browse files
authored
Merge pull request #7453 from dknopik/into-anchor
Anchor Pre-PR: `unstable`, #7427 and #7016
2 parents 22faccb + 5b8450f commit 2c153d7

File tree

261 files changed

+9181
-5664
lines changed

Some content is hidden

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

261 files changed

+9181
-5664
lines changed

.github/mergify.yml

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
pull_request_rules:
2+
- name: Ask to resolve conflict
3+
conditions:
4+
- conflict
5+
- -author=dependabot[bot]
6+
- or:
7+
- -draft # Don't report conflicts on regular draft.
8+
- and: # Do report conflicts on draft that are scheduled for the next major release.
9+
- draft
10+
- milestone~=v[0-9]\.[0-9]{2}
11+
actions:
12+
comment:
13+
message: This pull request has merge conflicts. Could you please resolve them
14+
@{{author}}? 🙏
15+
16+
- name: Approve trivial maintainer PRs
17+
conditions:
18+
- base!=stable
19+
- label=trivial
20+
- author=@sigp/lighthouse
21+
- -conflict
22+
actions:
23+
review:
24+
type: APPROVE
25+
26+
- name: Add ready-to-merge labeled PRs to merge queue
27+
conditions:
28+
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
29+
- base!=stable
30+
- label=ready-for-merge
31+
- label!=do-not-merge
32+
actions:
33+
queue:
34+
135
queue_rules:
236
- name: default
337
batch_size: 8
@@ -6,14 +40,16 @@ queue_rules:
640
merge_method: squash
741
commit_message_template: |
842
{{ title }} (#{{ number }})
9-
10-
{% for commit in commits %}
11-
* {{ commit.commit_message }}
12-
{% endfor %}
43+
44+
{{ body | get_section("## Issue Addressed", "") }}
45+
46+
47+
{{ body | get_section("## Proposed Changes", "") }}
1348
queue_conditions:
1449
- "#approved-reviews-by >= 1"
1550
- "check-success=license/cla"
1651
- "check-success=target-branch-check"
52+
- "label!=do-not-merge"
1753
merge_conditions:
1854
- "check-success=test-suite-success"
1955
- "check-success=local-testnet-success"

.github/workflows/release.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
arch: [aarch64-unknown-linux-gnu,
3434
x86_64-unknown-linux-gnu,
3535
x86_64-apple-darwin,
36+
aarch64-apple-darwin,
3637
x86_64-windows]
3738
include:
3839
- arch: aarch64-unknown-linux-gnu
@@ -44,6 +45,9 @@ jobs:
4445
- arch: x86_64-apple-darwin
4546
runner: macos-13
4647
profile: maxperf
48+
- arch: aarch64-apple-darwin
49+
runner: macos-14
50+
profile: maxperf
4751
- arch: x86_64-windows
4852
runner: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "release"]') || 'windows-2019' }}
4953
profile: maxperf
@@ -94,6 +98,10 @@ jobs:
9498
if: matrix.arch == 'x86_64-apple-darwin'
9599
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
96100

101+
- name: Build Lighthouse for aarch64-apple-darwin
102+
if: matrix.arch == 'aarch64-apple-darwin'
103+
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
104+
97105
- name: Build Lighthouse for Windows
98106
if: matrix.arch == 'x86_64-windows'
99107
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
@@ -221,7 +229,7 @@ jobs:
221229
|Non-Staking Users| <TODO>|---|
222230
223231
*See [Update
224-
Priorities](https://lighthouse-book.sigmaprime.io/installation-priorities.html)
232+
Priorities](https://lighthouse-book.sigmaprime.io/installation_priorities.html)
225233
more information about this table.*
226234
227235
## All Changes
@@ -230,19 +238,20 @@ jobs:
230238
231239
## Binaries
232240
233-
[See pre-built binaries documentation.](https://lighthouse-book.sigmaprime.io/installation-binaries.html)
241+
[See pre-built binaries documentation.](https://lighthouse-book.sigmaprime.io/installation_binaries.html)
234242
235243
The binaries are signed with Sigma Prime's PGP key: `15E66D941F697E28F49381F426416DC3F30674B0`
236244
237245
| System | Architecture | Binary | PGP Signature |
238246
|:---:|:---:|:---:|:---|
239-
| <img src="https://simpleicons.org/icons/apple.svg" style="width: 32px;"/> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz.asc) |
240-
| <img src="https://simpleicons.org/icons/linux.svg" style="width: 32px;"/> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc) |
241-
| <img src="https://simpleicons.org/icons/raspberrypi.svg" style="width: 32px;"/> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz.asc) |
242-
| <img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg" style="width: 32px;"/> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz.asc) |
247+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/apple/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/apple" ><img src="https://cdn.simpleicons.org/apple" width="32" alt="Apple logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-apple-darwin.tar.gz.asc) |
248+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/apple/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/apple" ><img src="https://cdn.simpleicons.org/apple" width="32" alt="Apple logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz.asc) |
249+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/linux/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/linux/black" ><img src="https://cdn.simpleicons.org/linux" width="32" alt="Linux logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc) |
250+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/raspberrypi/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/raspberrypi/black" > <img src="https://cdn.simpleicons.org/raspberrypi" width="32" alt="Raspberrypi logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz.asc) |
251+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://upload.wikimedia.org/wikipedia/commons/8/87/Windows_logo_-_2021.svg"> <source media="(prefers-color-scheme: light)" srcset="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg"> <img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg" width="32" alt="Windows logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz.asc) |
243252
| | | | |
244253
| **System** | **Option** | - | **Resource** |
245-
| <img src="https://simpleicons.org/icons/docker.svg" style="width: 32px;"/> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
254+
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/docker/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/docker/black" > <img src="https://cdn.simpleicons.org/docker/black" width="32" alt="Docker logo"></picture> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
246255
ENDBODY
247256
)
248257
assets=(./lighthouse-*.tar.gz*/lighthouse-*.tar.gz*)

.github/workflows/test-suite.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,15 @@ jobs:
295295
with:
296296
channel: stable
297297
cache-target: release
298-
- name: Run a basic beacon chain sim that starts from Bellatrix
299-
run: cargo run --release --bin simulator basic-sim
298+
- name: Create log dir
299+
run: mkdir ${{ runner.temp }}/basic_simulator_logs
300+
- name: Run a basic beacon chain sim that starts from Deneb
301+
run: cargo run --release --bin simulator basic-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/basic_simulator_logs
302+
- name: Upload logs
303+
uses: actions/upload-artifact@v4
304+
with:
305+
name: basic_simulator_logs
306+
path: ${{ runner.temp }}/basic_simulator_logs
300307
fallback-simulator-ubuntu:
301308
name: fallback-simulator-ubuntu
302309
needs: [check-labels]
@@ -309,8 +316,15 @@ jobs:
309316
with:
310317
channel: stable
311318
cache-target: release
319+
- name: Create log dir
320+
run: mkdir ${{ runner.temp }}/fallback_simulator_logs
312321
- name: Run a beacon chain sim which tests VC fallback behaviour
313-
run: cargo run --release --bin simulator fallback-sim
322+
run: cargo run --release --bin simulator fallback-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/fallback_simulator_logs
323+
- name: Upload logs
324+
uses: actions/upload-artifact@v4
325+
with:
326+
name: fallback_simulator_logs
327+
path: ${{ runner.temp }}/fallback_simulator_logs
314328
execution-engine-integration-ubuntu:
315329
name: execution-engine-integration-ubuntu
316330
needs: [check-labels]

0 commit comments

Comments
 (0)