Skip to content

Commit 0467aae

Browse files
committed
chore: migrate tooling/ to ethrex-tooling repo
Move all development tooling (EF tests, load tests, monitor TUI, REPL, benchmarks, etc.) to the external lambdaclass/ethrex-tooling repository. - Delete the in-repo tooling/ directory (~130 files) - Change ethrex-monitor and ethrex-repl to git deps with rev pinning - Add [patch."https://github.com/lambdaclass/ethrex"] section so tooling's transitive deps resolve to local workspace crates - Update CI workflows to checkout ethrex-tooling into tooling/ - Remove stale tooling/ path triggers from LEVM workflow - Remove tooling manifest entries from Makefile cargo-lock targets - Update Dockerfile to drop tooling COPY and handle chef cook failures - Add tooling/ to .gitignore to prevent accidental commits - Update docs and README to reference ethrex-tooling repo - Add .cargo/config.toml.example for local cross-repo development Closes #6487
1 parent 8bab564 commit 0467aae

157 files changed

Lines changed: 1136 additions & 45301 deletions

File tree

Some content is hidden

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

.cargo/config.toml.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Local development overrides for cross-repo work with ethrex-tooling.
2+
# Copy this file to .cargo/config.toml (or append to existing) and adjust paths.
3+
4+
[patch."https://github.com/lambdaclass/ethrex-tooling"]
5+
ethrex-monitor = { path = "../ethrex-tooling/monitor" }
6+
ethrex-repl = { path = "../ethrex-tooling/repl" }

.dockerignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ docs/
1919
# Local development
2020
hive/
2121
ethereum-package/
22-
tooling/ef_tests/blockchain/vectors
23-
tooling/ef_tests/state/vectors
24-
tooling/sync/multisync_logs/
22+
tooling/
2523
dev_ethrex_l1/
2624
dev_ethrex_l2/

.github/workflows/daily_hive_report.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ jobs:
178178
steps:
179179
- name: Checkout sources
180180
uses: actions/checkout@v6
181+
- name: Checkout ethrex-tooling
182+
uses: actions/checkout@v6
183+
with:
184+
repository: lambdaclass/ethrex-tooling
185+
ref: main
186+
path: tooling
181187
- name: Setup Rust Environment
182188
uses: ./.github/actions/setup-rust
183189

.github/workflows/daily_loc_report.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
steps:
3232
- name: Checkout sources
3333
uses: actions/checkout@v6
34+
- name: Checkout ethrex-tooling
35+
uses: actions/checkout@v6
36+
with:
37+
repository: lambdaclass/ethrex-tooling
38+
ref: main
39+
path: tooling
3440
- name: Setup Rust Environment
3541
uses: ./.github/actions/setup-rust
3642

.github/workflows/pr-main_l1.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ jobs:
8787
run: |
8888
cargo fmt --all -- --check
8989
90+
- name: Checkout ethrex-tooling
91+
uses: actions/checkout@v6
92+
with:
93+
repository: lambdaclass/ethrex-tooling
94+
ref: main
95+
path: tooling
96+
9097
- name: Run tooling cargo check
9198
run: cargo check --workspace --all-targets
9299
working-directory: tooling
@@ -121,6 +128,13 @@ jobs:
121128
run: |
122129
cargo test --workspace --exclude 'ethrex-l2*' --exclude ethrex-prover --exclude ethrex-guest-program
123130
131+
- name: Checkout ethrex-tooling
132+
uses: actions/checkout@v6
133+
with:
134+
repository: lambdaclass/ethrex-tooling
135+
ref: main
136+
path: tooling
137+
124138
- name: Run Blockchain EF tests
125139
if: ${{ github.event_name != 'merge_group' }}
126140
run: |
@@ -476,6 +490,13 @@ jobs:
476490
- name: Setup Rust Environment
477491
uses: ./.github/actions/setup-rust
478492

493+
- name: Checkout ethrex-tooling
494+
uses: actions/checkout@v6
495+
with:
496+
repository: lambdaclass/ethrex-tooling
497+
ref: main
498+
path: tooling
499+
479500
- name: Compile ethrex binary
480501
run: cargo build --bin ethrex
481502

.github/workflows/pr-main_levm.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ on:
66
pull_request:
77
branches: ["**"]
88
paths:
9-
- "tooling/ef_tests/state/**"
109
- "crates/vm/levm/**"
1110
- "crates/common/crypto/**"
1211
- ".github/workflows/pr-main_levm.yaml"
13-
- "tooling/ef_tests/state"
1412
workflow_dispatch:
1513

1614
concurrency:
@@ -36,6 +34,12 @@ jobs:
3634
steps:
3735
- name: Checkout sources
3836
uses: actions/checkout@v6
37+
- name: Checkout ethrex-tooling
38+
uses: actions/checkout@v6
39+
with:
40+
repository: lambdaclass/ethrex-tooling
41+
ref: main
42+
path: tooling
3943
- name: Setup Rust Environment
4044
uses: ./.github/actions/setup-rust
4145

@@ -81,6 +85,12 @@ jobs:
8185
steps:
8286
- name: Checkout sources
8387
uses: actions/checkout@v6
88+
- name: Checkout ethrex-tooling
89+
uses: actions/checkout@v6
90+
with:
91+
repository: lambdaclass/ethrex-tooling
92+
ref: main
93+
path: tooling
8494
- name: Setup Rust Environment
8595
uses: ./.github/actions/setup-rust
8696

@@ -97,6 +107,13 @@ jobs:
97107
with:
98108
ref: main
99109

110+
- name: Checkout ethrex-tooling
111+
uses: actions/checkout@v6
112+
with:
113+
repository: lambdaclass/ethrex-tooling
114+
ref: main
115+
path: tooling
116+
100117
- name: Setup Rust Environment
101118
uses: ./.github/actions/setup-rust
102119

.github/workflows/pr_lint_license.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ jobs:
3737
fi
3838
echo "License files present: LICENSE-MIT, LICENSE-APACHE"
3939
40+
- name: Checkout ethrex-tooling
41+
uses: actions/checkout@v6
42+
with:
43+
repository: lambdaclass/ethrex-tooling
44+
ref: main
45+
path: tooling
46+
4047
- name: Check all packages have correct license
4148
run: |
4249
# Check main workspace

.github/workflows/pr_loc.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
with:
2727
ref: ${{ github.event.pull_request.head.sha }}
2828

29+
- name: Checkout ethrex-tooling
30+
uses: actions/checkout@v6
31+
with:
32+
repository: lambdaclass/ethrex-tooling
33+
ref: main
34+
path: tooling
35+
2936
- name: Find merge base
3037
id: find_merge_base
3138
env:
@@ -43,6 +50,13 @@ jobs:
4350
fetch-depth: 0
4451
ref: ${{ steps.find_merge_base.outputs.merge_base }}
4552

53+
- name: Checkout ethrex-tooling (base)
54+
uses: actions/checkout@v6
55+
with:
56+
repository: lambdaclass/ethrex-tooling
57+
ref: main
58+
path: tooling
59+
4660
- name: Setup Rust Environment
4761
uses: ./.github/actions/setup-rust
4862
with:
@@ -61,6 +75,13 @@ jobs:
6175
clean: "false" # Don't clean the workspace, so we can keep the previous report
6276
ref: ${{ github.event.pull_request.head.sha }}
6377

78+
- name: Checkout ethrex-tooling (PR)
79+
uses: actions/checkout@v6
80+
with:
81+
repository: lambdaclass/ethrex-tooling
82+
ref: main
83+
path: tooling
84+
6485
- name: Setup Rust Environment
6586
uses: ./.github/actions/setup-rust
6687
with:

.github/workflows/pr_upgradeability.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ jobs:
2525
with:
2626
node-version: 20
2727

28+
- name: Checkout ethrex-tooling
29+
uses: actions/checkout@v6
30+
with:
31+
repository: lambdaclass/ethrex-tooling
32+
ref: main
33+
path: tooling
34+
2835
- name: Install dependencies
2936
run: |
3037
npm install

.gitignore

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,8 @@
88
# MSVC Windows builds of rustc generate these, which store debugging information
99
*.pdb
1010

11-
tooling/ef_tests/blockchain/vectors
12-
tooling/ef_tests/blockchain/vectors_zkevm
13-
14-
tooling/ef_tests/state/vectors
15-
16-
tooling/ef_tests/state/runner_v2/failure_report.txt
17-
tooling/ef_tests/state/runner_v2/success_report.txt
18-
19-
tooling/reorgs/data
20-
21-
tooling/sync/logs/
22-
tooling/sync/multisync_logs/
11+
# ethrex-tooling checkout (clone ethrex-tooling into this directory for local dev / CI)
12+
tooling/
2313

2414
# Repos checked out by make target
2515
/hive/
@@ -60,7 +50,6 @@ block_time_report_github.txt
6050
block_time_report_slack.json
6151

6252
# used by Flamegraph and Samply
63-
tooling/ef_tests/state/levm_perfgraphs
6453
*.svg
6554
prof_*.json
6655
prof.json

0 commit comments

Comments
 (0)