Skip to content

Commit 0c2c8c4

Browse files
committed
Merge remote-tracking branch 'origin/unstable' into max-blobs-preset
2 parents 21ecb58 + f51a292 commit 0c2c8c4

File tree

430 files changed

+14280
-9446
lines changed

Some content is hidden

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

430 files changed

+14280
-9446
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
env:
16-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
17-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
16+
DOCKER_PASSWORD: ${{ secrets.DH_KEY }}
17+
DOCKER_USERNAME: ${{ secrets.DH_ORG }}
1818
# Enable self-hosted runners for the sigp repo only.
1919
SELF_HOSTED_RUNNERS: ${{ github.repository == 'sigp/lighthouse' }}
2020

.github/workflows/local-testnet.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v4
3838

39-
- name: Install dependencies
39+
- name: Install Kurtosis
4040
run: |
41-
sudo add-apt-repository ppa:rmescandon/yq
4241
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
4342
sudo apt update
44-
sudo apt install -y kurtosis-cli yq
43+
sudo apt install -y kurtosis-cli
4544
kurtosis analytics disable
4645
4746
- name: Download Docker image artifact
@@ -83,12 +82,11 @@ jobs:
8382
steps:
8483
- uses: actions/checkout@v4
8584

86-
- name: Install dependencies
85+
- name: Install Kurtosis
8786
run: |
88-
sudo add-apt-repository ppa:rmescandon/yq
8987
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
9088
sudo apt update
91-
sudo apt install -y kurtosis-cli yq
89+
sudo apt install -y kurtosis-cli
9290
kurtosis analytics disable
9391
9492
- name: Download Docker image artifact
@@ -119,12 +117,11 @@ jobs:
119117
steps:
120118
- uses: actions/checkout@v4
121119

122-
- name: Install dependencies
120+
- name: Install Kurtosis
123121
run: |
124-
sudo add-apt-repository ppa:rmescandon/yq
125122
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
126123
sudo apt update
127-
sudo apt install -y kurtosis-cli yq
124+
sudo apt install -y kurtosis-cli
128125
kurtosis analytics disable
129126
130127
- name: Download Docker image artifact

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
14-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
13+
DOCKER_PASSWORD: ${{ secrets.DH_KEY }}
14+
DOCKER_USERNAME: ${{ secrets.DH_ORG }}
1515
REPO_NAME: ${{ github.repository_owner }}/lighthouse
1616
IMAGE_NAME: ${{ github.repository_owner }}/lighthouse
1717
# Enable self-hosted runners for the sigp repo only.

.github/workflows/test-suite.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
- name: Checkout repository
6464
uses: actions/checkout@v3
6565
- name: Install dependencies
66-
run: apt update && apt install -y cmake
67-
- name: Generate code coverage
66+
run: apt update && apt install -y cmake libclang-dev
67+
- name: Check for deadlocks
6868
run: |
6969
cargo lockbud -k deadlock -b -l tokio_util
7070
@@ -83,6 +83,11 @@ jobs:
8383
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
8484
steps:
8585
- uses: actions/checkout@v4
86+
# Set Java version to 21. (required since Web3Signer 24.12.0).
87+
- uses: actions/setup-java@v4
88+
with:
89+
distribution: 'temurin'
90+
java-version: '21'
8691
- name: Get latest version of stable Rust
8792
if: env.SELF_HOSTED_RUNNERS == 'false'
8893
uses: moonrepo/setup-rust@v1
@@ -345,7 +350,7 @@ jobs:
345350
- name: Check formatting with cargo fmt
346351
run: make cargo-fmt
347352
- name: Lint code for quality and style with Clippy
348-
run: make lint
353+
run: make lint-full
349354
- name: Certify Cargo.lock freshness
350355
run: git diff --exit-code Cargo.lock
351356
- name: Typecheck benchmark code without running it
@@ -358,6 +363,8 @@ jobs:
358363
run: CARGO_HOME=$(readlink -f $HOME) make vendor
359364
- name: Markdown-linter
360365
run: make mdlint
366+
- name: Spell-check
367+
uses: rojopolis/spellcheck-github-actions@v0
361368
check-msrv:
362369
name: check-msrv
363370
runs-on: ubuntu-latest
@@ -420,7 +427,22 @@ jobs:
420427
channel: stable
421428
cache-target: release
422429
- name: Run Makefile to trigger the bash script
423-
run: make cli
430+
run: make cli-local
431+
cargo-sort:
432+
name: cargo-sort
433+
needs: [check-labels]
434+
if: needs.check-labels.outputs.skip_ci != 'true'
435+
runs-on: ubuntu-latest
436+
steps:
437+
- uses: actions/checkout@v4
438+
- name: Get latest version of stable Rust
439+
uses: moonrepo/setup-rust@v1
440+
with:
441+
channel: stable
442+
cache-target: release
443+
bins: cargo-sort
444+
- name: Run cargo sort to check if Cargo.toml files are sorted
445+
run: cargo sort --check --workspace
424446
# This job succeeds ONLY IF all others succeed. It is used by the merge queue to determine whether
425447
# a PR is safe to merge. New jobs should be added here.
426448
test-suite-success:
@@ -448,6 +470,7 @@ jobs:
448470
'compile-with-beta-compiler',
449471
'cli-check',
450472
'lockbud',
473+
'cargo-sort',
451474
]
452475
steps:
453476
- uses: actions/checkout@v4

.spellcheck.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
matrix:
2+
- name: Markdown
3+
sources:
4+
- './book/**/*.md'
5+
- 'README.md'
6+
- 'CONTRIBUTING.md'
7+
- 'SECURITY.md'
8+
- './scripts/local_testnet/README.md'
9+
default_encoding: utf-8
10+
aspell:
11+
lang: en
12+
dictionary:
13+
wordlists:
14+
- wordlist.txt
15+
encoding: utf-8
16+
pipeline:
17+
- pyspelling.filters.url:
18+
- pyspelling.filters.markdown:
19+
markdown_extensions:
20+
- pymdownx.superfences:
21+
- pymdownx.highlight:
22+
- pymdownx.striphtml:
23+
- pymdownx.magiclink:
24+
- pyspelling.filters.html:
25+
comments: false
26+
ignores:
27+
- code
28+
- pre
29+
- pyspelling.filters.context:
30+
context_visible_first: true
31+
delimiters:
32+
# Ignore hex strings
33+
- open: '0x[a-fA-F0-9]'
34+
close: '[^a-fA-F0-9]'
35+

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ steps:
8585
5. Commit your changes and push them to your fork with `$ git push origin
8686
your_feature_name`.
8787
6. Go to your fork on github.com and use the web interface to create a pull
88-
request into the sigp/lighthouse repo.
88+
request into the sigp/lighthouse repository.
8989

9090
From there, the repository maintainers will review the PR and either accept it
9191
or provide some constructive feedback.

0 commit comments

Comments
 (0)