Skip to content

Commit 9152e82

Browse files
committed
feat: use lodestar-z/blst
1 parent 983b1a4 commit 9152e82

File tree

96 files changed

+175
-122
lines changed

Some content is hidden

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

96 files changed

+175
-122
lines changed

.github/actions/setup-and-build/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ runs:
2020
# cache: pnpm
2121
package-manager-cache: false
2222

23+
- name: Install Zig
24+
uses: mlugg/setup-zig@v2
25+
with:
26+
version: ${{ env.ZIG_VERSION }}
27+
cache-key: ${{ env.ZIG_VERSION }}
28+
29+
2330
- name: Node.js version
2431
id: node
2532
shell: bash

.github/workflows/benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
- unstable
2020
workflow_dispatch:
2121

22+
env:
23+
ZIG_VERSION: "0.14.1"
24+
2225
jobs:
2326
run:
2427
runs-on: buildjet-4vcpu-ubuntu-2204

.github/workflows/binaries.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
required: true
1313
type: string
1414

15+
env:
16+
ZIG_VERSION: "0.14.1"
17+
1518
jobs:
1619
binaries:
1720
name: Build lodestar binaries

.github/workflows/docs-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches: [unstable, stable]
77
pull_request:
88

9+
env:
10+
ZIG_VERSION: "0.14.1"
11+
912
jobs:
1013
build:
1114
name: Docs spellcheck

.github/workflows/publish-rc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ concurrency: cd-publish-rc
77
on:
88
workflow_call:
99

10+
env:
11+
ZIG_VERSION: "0.14.1"
12+
1013
permissions:
1114
contents: write # Required for OIDC
1215
id-token: write # Required to create a Github release

.github/workflows/publish-stable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ concurrency: cd-publish-stable
77
on:
88
workflow_call:
99

10+
env:
11+
ZIG_VERSION: "0.14.1"
12+
1013
permissions:
1114
contents: write # Required for OIDC
1215
id-token: write # Required to create a Github release

.github/workflows/test-bun.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ jobs:
3030
bun-version: latest
3131
- name: Install pnpm
3232
run: bun install -g npm:pnpm
33+
- uses: oven-sh/setup-bun@v2
34+
with:
35+
bun-version: latest
36+
- uses: mlugg/setup-zig@v2
37+
with:
38+
version: ${{ env.ZIG_VERSION }}
39+
cache-key: ${{ env.ZIG_VERSION }}
3340
- name: Install
3441
run: pnpm install --frozen-lockfile
3542
- name: Build

.github/workflows/test-sim.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ on:
2222
type: number
2323
default: 40
2424

25+
env:
26+
ZIG_VERSION: "0.14.1"
27+
2528
jobs:
2629
build:
2730
name: Build

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
pull_request:
1313
workflow_dispatch:
1414

15+
env:
16+
ZIG_VERSION: "0.14.1"
17+
1518
jobs:
1619
build:
1720
name: Build

packages/beacon-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@
109109
},
110110
"dependencies": {
111111
"@chainsafe/as-sha256": "^1.2.0",
112-
"@chainsafe/blst": "^2.2.0",
113112
"@chainsafe/discv5": "^11.0.4",
114113
"@chainsafe/enr": "^5.0.1",
115114
"@chainsafe/libp2p-gossipsub": "^14.1.2",
116115
"@chainsafe/libp2p-noise": "^16.1.5",
116+
"@chainsafe/lodestar-z": "catalog:",
117117
"@chainsafe/persistent-merkle-tree": "^1.2.1",
118118
"@chainsafe/prometheus-gc-stats": "^1.0.0",
119119
"@chainsafe/pubkey-index-map": "^3.0.0",

0 commit comments

Comments
 (0)