You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: migrate crates/node to use reth-op meta-crate (#169)
> The Cargo.toml file has a lot of reth dependencies, reth recently
added the reth-op crate which re-exports all of the crates behind
feature flags. Try to transition the dependencies of the crates in this
workspace to reth-op enabling the necessary features (node or full and
cli). Similar migrations have been made to the crates in the reth
repository's examples folder, which can be a helpful reference for this
task.
>
> In addition to that remove unused dependencies from this workspace
dependencies
>
> try to reduce individual reth- crate dependencies in crates/node by
replacing them with a reth_op dependency with the full and cli feature
and update the use statements accordingly so they use the re-exported
types from reth-op.
## Summary
Migrates `crates/node` to use the `reth-op` meta-crate, reducing
individual reth dependencies from 24 to 11.
### Changes:
- Added `reth-op` dependency with `["full", "cli"]` features
- Updated import paths to use reth-op's re-exported modules:
- `reth_network` → `reth_op::network`
- `reth_transaction_pool` → `reth_op::pool`
- `reth_chainspec` → `reth_op::chainspec`
- `reth_primitives_traits` → `reth_op::primitives`
- etc.
- Removed 13 individual reth dependencies now accessed through reth-op
- Retained 11 dependencies not fully re-exported by reth-op
All tests pass and the codebase builds successfully.
0 commit comments