Skip to content

Commit 3252c6e

Browse files
committed
fix conflict
2 parents a74803d + e9cff2d commit 3252c6e

File tree

674 files changed

+14967
-8181
lines changed

Some content is hidden

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

674 files changed

+14967
-8181
lines changed

.github/workflows/bench.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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 --profile profiling
30+
- name: Run the benchmarks
31+
uses: CodSpeedHQ/action@v4
32+
with:
33+
mode: instrumentation
34+
run: cargo codspeed run --workspace

.github/workflows/book.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy mdBook
2+
on:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: peaceiris/actions-mdbook@v2
14+
with:
15+
mdbook-version: 'latest'
16+
17+
- name: Build book
18+
run: mdbook build book # Add "book" to specify the directory
19+
20+
- uses: peaceiris/actions-gh-pages@v4
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./book/book

.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
latest=false
5151
5252
- name: Login to Docker Hub
53-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
53+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef #v3.6.0
5454
with:
5555
username: ${{ secrets.DOCKERHUB_USERNAME }}
5656
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -75,6 +75,6 @@ jobs:
7575
tags: ${{ steps.meta-nightly.outputs.tags }}
7676
labels: ${{ steps.meta-nightly.outputs.labels }}
7777
build-args: |
78-
CARGO_FEATURES=js-trace
78+
CARGO_FEATURES=js-tracer
7979
cache-from: type=gha,scope=${{ github.workflow }}-nightly
8080
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)