Skip to content

Commit 392ca2a

Browse files
committed
Merge branch 'main' into feat/add_tokio_console
2 parents 96b33c2 + 243b212 commit 392ca2a

File tree

654 files changed

+13223
-7742
lines changed

Some content is hidden

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

654 files changed

+13223
-7742
lines changed

.github/workflows/bench.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Runs benchmarks.
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
BASELINE: base
11+
SEED: rollup-node
12+
13+
name: bench
14+
jobs:
15+
codspeed:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v5
19+
- uses: rui314/setup-mold@v1
20+
- uses: dtolnay/rust-toolchain@stable
21+
- uses: Swatinem/rust-cache@v2
22+
with:
23+
cache-on-failure: true
24+
- name: Install cargo-codspeed
25+
uses: taiki-e/install-action@v2
26+
with:
27+
tool: cargo-codspeed
28+
- name: Build the benchmark target(s)
29+
run: cargo codspeed build -p scroll-derivation-pipeline
30+
- name: Run the benchmarks
31+
uses: CodSpeedHQ/action@v3
32+
with:
33+
run: cargo codspeed run --workspace

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
with:
9393
cache-on-failure: true
9494
- name: Run doc
95-
run: cargo docs --document-private-items
95+
run: cargo docs --document-private-items --exclude rollup-node-chain-orchestrator
9696
env:
9797
RUSTDOCFLAGS: --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page -Zunstable-options -D warnings
9898

.github/workflows/release.yml

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
with:
2828
cache-binary: false
2929

30-
- name: Extract docker metadata
31-
id: meta
30+
- name: Extract docker metadata (stable)
31+
id: meta-stable
3232
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
3333
with:
3434
images: scrolltech/rollup-node
@@ -38,19 +38,43 @@ jobs:
3838
flavor: |
3939
latest=false
4040
41+
- name: Extract docker metadata (nightly)
42+
id: meta-nightly
43+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
44+
with:
45+
images: scrolltech/rollup-node
46+
tags: |
47+
type=ref,event=tag,enable=${{ github.event_name == 'push' }},suffix=-nightly
48+
type=raw,value=latest-nightly,enable=${{ github.event_name == 'release' }}
49+
flavor: |
50+
latest=false
51+
4152
- name: Login to Docker Hub
42-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
53+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef #v3.6.0
4354
with:
4455
username: ${{ secrets.DOCKERHUB_USERNAME }}
4556
password: ${{ secrets.DOCKERHUB_TOKEN }}
4657

47-
- name: Build docker image
58+
- name: Build docker image (stable)
59+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
60+
with:
61+
context: .
62+
file: Dockerfile
63+
push: true
64+
tags: ${{ steps.meta-stable.outputs.tags }}
65+
labels: ${{ steps.meta-stable.outputs.labels }}
66+
cache-from: type=gha,scope=${{ github.workflow }}-stable
67+
cache-to: type=gha,scope=${{ github.workflow }}-stable
68+
69+
- name: Build docker image (nightly)
4870
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
4971
with:
5072
context: .
5173
file: Dockerfile
5274
push: true
53-
tags: ${{ steps.meta.outputs.tags }}
54-
labels: ${{ steps.meta.outputs.labels }}
55-
cache-from: type=gha,scope=${{ github.workflow }}
56-
cache-to: type=gha,scope=${{ github.workflow }}
75+
tags: ${{ steps.meta-nightly.outputs.tags }}
76+
labels: ${{ steps.meta-nightly.outputs.labels }}
77+
build-args: |
78+
CARGO_FEATURES=js-tracer
79+
cache-from: type=gha,scope=${{ github.workflow }}-nightly
80+
cache-to: type=gha,scope=${{ github.workflow }}-nightly
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Sequencer Migration Docker
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build-and-push:
12+
runs-on:
13+
group: scroll-reth-runner-group
14+
permissions: {}
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v5
19+
with:
20+
persist-credentials: false
21+
22+
- name: Extract docker metadata
23+
id: meta
24+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
25+
with:
26+
images: scrolltech/sequencer-migration
27+
tags: |
28+
type=ref,event=tag,enable=${{ github.event_name == 'push' }}
29+
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
30+
flavor: |
31+
latest=false
32+
33+
- name: Login to Docker Hub
34+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef #v3.6.0
35+
with:
36+
username: ${{ secrets.DOCKERHUB_USERNAME }}
37+
password: ${{ secrets.DOCKERHUB_TOKEN }}
38+
39+
- name: Build and push Docker image
40+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
41+
with:
42+
context: sequencer-migration
43+
file: sequencer-migration/Dockerfile
44+
push: true
45+
tags: ${{ steps.meta.outputs.tags }}
46+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/test.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ env:
1414

1515
jobs:
1616
unit:
17-
runs-on: ubuntu-latest
17+
runs-on:
18+
group: scroll-reth-runner-group
1819
timeout-minutes: 60
1920
env:
2021
RUST_BACKTRACE: 1
@@ -27,14 +28,13 @@ jobs:
2728
- uses: Swatinem/rust-cache@v2
2829
with:
2930
cache-on-failure: true
30-
- uses: taiki-e/install-action@v2
31-
with:
32-
31+
- uses: taiki-e/install-action@nextest
3332
- name: Run unit tests
3433
run: cargo nextest run --all-features --workspace --locked -E '!kind(test)'
3534

3635
integration:
37-
runs-on: ubuntu-latest
36+
runs-on:
37+
group: scroll-reth-runner-group
3838
timeout-minutes: 60
3939
env:
4040
RUST_BACKTRACE: 1
@@ -47,17 +47,16 @@ jobs:
4747
- uses: Swatinem/rust-cache@v2
4848
with:
4949
cache-on-failure: true
50-
- uses: taiki-e/install-action@v2
51-
with:
52-
50+
- uses: taiki-e/install-action@nextest
5351
- name: Run integration tests
5452
run: |
5553
cargo nextest run --all-features --workspace --locked \
5654
--no-tests=pass -E 'kind(test) and not test(docker)' \
5755
-- --skip test_should_consolidate_to_block_15k
5856
5957
integration-docker-compose:
60-
runs-on: ubuntu-latest
58+
runs-on:
59+
group: scroll-reth-runner-group
6160
timeout-minutes: 90
6261
env:
6362
RUST_BACKTRACE: 1
@@ -68,9 +67,7 @@ jobs:
6867
- uses: Swatinem/rust-cache@v2
6968
with:
7069
cache-on-failure: true
71-
- uses: taiki-e/install-action@v2
72-
with:
73-
70+
- uses: taiki-e/install-action@nextest
7471
- name: Set up Docker Buildx
7572
uses: docker/setup-buildx-action@v3
7673
- name: Free up disk space
@@ -95,5 +92,5 @@ jobs:
9592
--success-output never \
9693
--verbose
9794
env:
98-
RUST_LOG: debug
95+
RUST_LOG: trace
9996
RUST_BACKTRACE: full

0 commit comments

Comments
 (0)