Skip to content

Commit 8786a4b

Browse files
Merge EigenDA integration on top of v3.8.0-rc.16
2 parents 8419934 + 3cdb51e commit 8786a4b

File tree

93 files changed

+4662
-297
lines changed

Some content is hidden

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

93 files changed

+4662
-297
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: EigenDA Docker Image
2+
3+
inputs:
4+
context:
5+
required: true
6+
type: string
7+
images:
8+
required: true
9+
type: string
10+
target:
11+
required: true
12+
type: string
13+
platforms:
14+
required: true
15+
type: string
16+
file:
17+
required: true
18+
type: string
19+
push:
20+
required: true
21+
type: boolean
22+
23+
outputs:
24+
digest:
25+
value: "${{ steps.build.outputs.digest }}"
26+
27+
runs:
28+
using: composite
29+
steps:
30+
- name: Generate docker metadata
31+
uses: docker/metadata-action@v5
32+
id: metadata
33+
with:
34+
images: ${{ inputs.images }}
35+
- name: Build and push docker
36+
uses: docker/build-push-action@v5
37+
id: build
38+
with:
39+
context: ${{ inputs.context }}
40+
file: ${{ inputs.file }}
41+
target: ${{ inputs.target }}
42+
labels: ${{ steps.metadata.outputs.labels }}
43+
platforms: ${{ inputs.platforms }}
44+
cache-from: type=registry,ref=${{ steps.metadata.outputs.tags }}
45+
cache-to: type=inline
46+
outputs: type=image,name=${{ inputs.images }},push-by-digest=true,name-canonical=true,push=${{ inputs.push }}
47+
48+
- name: Export digest
49+
shell: bash
50+
run: |
51+
digest_dir="${{ runner.temp }}/${{ inputs.target }}-${{ github.run_number }}-digests"
52+
mkdir -p "${digest_dir}"
53+
digest="${{ steps.build.outputs.digest }}"
54+
touch "${digest_dir}/${digest#sha256:}"
55+
56+
- name: Upload digest to arm64
57+
if: ${{ matrix.platform == 'linux/arm64' }}
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: "${{ inputs.target }}-digests-${{ github.run_number }}-arm64"
61+
path: "${{ runner.temp }}/${{ inputs.target }}-${{ github.run_number }}-digests/*"
62+
if-no-files-found: error
63+
retention-days: 1
64+
65+
- name: Upload digest to amd64
66+
if: ${{ matrix.platform == 'linux/amd64' }}
67+
uses: actions/upload-artifact@v4
68+
with:
69+
name: "${{ inputs.target }}-digests-${{ github.run_number }}-amd64"
70+
path: "${{ runner.temp }}/${{ inputs.target }}-${{ github.run_number }}-digests/*"
71+
if-no-files-found: error
72+
retention-days: 1

.github/workflows/_arbitrator.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
arbitrator:
88
name: Run Arbitrator tests
9-
runs-on: arbitrator-ci
9+
runs-on: linux-2xl
1010
env:
1111
RUST_BACKTRACE: 1
1212
# RUSTFLAGS: -Dwarnings # TODO: re-enable after wasmer upgrade
@@ -52,8 +52,8 @@ jobs:
5252
- name: Make arbitrator libraries
5353
run: make -j wasm-ci-build
5454

55-
- name: Clippy check
56-
run: cargo clippy --all --manifest-path arbitrator/Cargo.toml -- -D warnings
55+
# - name: Clippy check
56+
# run: cargo clippy --all --manifest-path arbitrator/Cargo.toml -- -D warnings
5757

5858
- name: Run rust tests
5959
id: run-rust-tests
@@ -82,8 +82,8 @@ jobs:
8282
- name: Rustfmt
8383
run: cargo fmt -p arbutil -p prover -p jit -p stylus --manifest-path arbitrator/Cargo.toml -- --check
8484

85-
- name: Rustfmt - tools/stylus_benchmark
86-
run: cargo fmt --all --manifest-path arbitrator/tools/stylus_benchmark/Cargo.toml -- --check
85+
# - name: Rustfmt - tools/stylus_benchmark
86+
# run: cargo fmt --all --manifest-path arbitrator/tools/stylus_benchmark/Cargo.toml -- --check
8787

8888
- name: Make proofs from test cases
8989
run: make -j test-gen-proofs

.github/workflows/_bold-legacy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
bold-legacy:
88
name: Run Bold Legacy challenge tests
9-
runs-on: arbitrator-ci
9+
runs-on: linux-2xl
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v5

.github/workflows/_codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
jobs:
2525
report_summary:
2626
name: Aggregate test results
27-
runs-on: ubuntu-4
27+
runs-on: linux-2xl
2828
permissions:
2929
pull-requests: write
3030

.github/workflows/_detect-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
changes:
1616
name: Detect file changes
17-
runs-on: ubuntu-4
17+
runs-on: linux-2xl
1818
outputs:
1919
arbitrator_changed: ${{ steps.changed.outputs.arbitrator_any_changed }}
2020
bold_legacy_changed: ${{ steps.changed.outputs.bold_legacy_any_changed }}

.github/workflows/_fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
lint-and-build:
88
name: Lint and Build
9-
runs-on: arbitrator-ci
9+
runs-on: linux-2xl
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v5

.github/workflows/_go-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
go-tests:
88
name: Full Go tests (matrix)
9-
runs-on: arbitrator-ci
9+
runs-on: linux-2xl
1010
strategy:
1111
fail-fast: false
1212
matrix:
@@ -35,11 +35,14 @@ jobs:
3535
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> "$GITHUB_ENV"
3636
3737
- name: Build
38-
run: make -j8 build test-go-deps
38+
run: CARGO_BUILD_JOBS=2 make -j8 build test-go-deps
3939

4040
- name: Build all lint dependencies
4141
run: make -j8 build-node-deps
4242

43+
- name: Spinup eigenda-proxy
44+
run: ./scripts/start-eigenda-proxy.sh
45+
4346
# --------------------- PATHDB MODE ---------------------
4447

4548
- name: run tests without race detection and path state scheme

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
can_proceed:
5656
name: can_proceed
57-
runs-on: ubuntu-4
57+
runs-on: linux-2xl
5858
needs: [fast]
5959
steps:
6060
- name: OK
@@ -64,6 +64,6 @@ jobs:
6464
# This job is just to make sure that the "can_proceed" job's status is visible
6565
# on the pull request page, even if it is skipped due to all its dependencies being
6666
# skipped. It does not depend on any other jobs, so it always runs.
67-
runs-on: ubuntu-4
67+
runs-on: linux-2xl
6868
steps:
69-
- run: true
69+
- run: true

.github/workflows/close-trivial-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
close-trivial-pr:
1010
if: github.event.label.name == 'trivial'
11-
runs-on: ubuntu-4
11+
runs-on: linux-2xl
1212
permissions:
1313
pull-requests: write
1414

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ on:
1616
jobs:
1717
analyze:
1818
name: Analyze
19-
runs-on: arbitrator-ci
20-
if: github.repository == 'OffchainLabs/nitro' # avoid forks without "Advanced Security" enabled
19+
if: github.repository == 'Layr-Labs/nitro' # don't run in any forks without "Advanced Security" enabled
20+
runs-on: linux-2xl
2121
permissions:
2222
actions: read
2323
contents: read

0 commit comments

Comments
 (0)