Skip to content

Commit a5de9fa

Browse files
authored
chore: testing updates & repo restructure (base#347)
* chore: rename runner/primitives crates and move reth-rpc to shared * chore: unify extensions to be one per crate * chore: migrate generic node setup to client-primitives, remove client-runner * chore: unify test account logic * chore: removed dead code * chore: migrated test harness to support extensions * chore: update metering rpc tests to use the node harness * chore: code cleanup - Remove file structure sections from READMEs - Move build_node function body into LocalNode::new - Replace local TestHarness::signer methods with Account::signer_b256() * chore: migrate metering non-rpc tests * chore: chain spec loaders * chore: remove genesis file + build it in rust * chore: setup shared primitives and move accounts/contracts there under test utils * chore: move FB test harness to flashblocks crate * chore: delete test-utils, rename client-primites to node * chore: add GHA/script to check that shared crates dont depend on client/ * chore: format features and update lockfile * review feedback * chore: inline config extraction in extension constructors Move config extraction directly into extension constructor calls to reduce intermediate variables in main.rs. * migrate back to generic install_ext
1 parent c2830a6 commit a5de9fa

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

+1939
-2814
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,18 @@ jobs:
159159
with:
160160
version: stable
161161
- run: just check-udeps
162+
163+
crate-deps:
164+
name: Crate Dependencies
165+
runs-on: ubuntu-latest
166+
steps:
167+
- name: Harden the runner (Audit all outbound calls)
168+
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
169+
with:
170+
egress-policy: audit
171+
172+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
173+
- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
174+
- name: Install just
175+
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
176+
- run: just check-crate-deps

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
target/
22
.idea/
3-
integration_logs/
43
.DS_Store

.gitmodules

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
[submodule "crates/client/test-utils/contracts/lib/forge-std"]
2-
path = crates/client/test-utils/contracts/lib/forge-std
1+
[submodule "crates/shared/primitives/contracts/lib/forge-std"]
2+
path = crates/shared/primitives/contracts/lib/forge-std
33
url = https://github.com/foundry-rs/forge-std
4-
[submodule "crates/client/test-utils/contracts/lib/solmate"]
5-
path = crates/client/test-utils/contracts/lib/solmate
4+
[submodule "crates/shared/primitives/contracts/lib/solmate"]
5+
path = crates/shared/primitives/contracts/lib/solmate
66
url = https://github.com/transmissions11/solmate
7-
[submodule "crates/client/test-utils/contracts/lib/openzeppelin-contracts"]
8-
path = crates/client/test-utils/contracts/lib/openzeppelin-contracts
7+
[submodule "crates/shared/primitives/contracts/lib/openzeppelin-contracts"]
8+
path = crates/shared/primitives/contracts/lib/openzeppelin-contracts
99
url = https://github.com/OpenZeppelin/openzeppelin-contracts

0 commit comments

Comments
 (0)